New topic: Misplaced canvas origin
<http://forums.realsoftware.com/viewtopic.php?t=47487> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message jfigueras Post subject: Misplaced canvas originPosted: Tue Apr 02, 2013 6:50 pm Joined: Sat Nov 05, 2005 5:00 pm Posts: 24 Location: Orleans, MA I have a window topped with a Tool Panel, using RealBasic's Tool Panel, and below it a canvas that fills the rest of the window. The origin of the Canvas appears to have shifted about 100 pixels down; i.e., if I write to location (0,0) on the Canvas using g.DrawString, there is an inaccessible region about 100 pixels deep below the Tool Panel . (This is space that I really need for output from my program). What is going on? How do I correct it?. _________________ J Figueras Top timhare Post subject: Re: Misplaced canvas originPosted: Tue Apr 02, 2013 7:08 pm Joined: Fri Jan 06, 2006 3:21 pm Posts: 12200 Location: Portland, OR USA The toolbar positions itself on window open and pushes everything else down (and adds extra room for itself, too). When you lay out the window, don't put the toolbar on the window itself. Put it just above (or to the side or wherever). Lay out the window as if there were no toolbar. Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
