New topic: Labels and Cocoa
<http://forums.realsoftware.com/viewtopic.php?t=46085> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message DaveS Post subject: Labels and CocoaPosted: Thu Nov 29, 2012 7:31 pm Joined: Sun Aug 05, 2007 10:46 am Posts: 4309 Location: San Diego, CA I have a label ... font is CHALKBOARD, fontsize is 22, control size is 500 x 24 in CARBON it display exactly as it should. In COCOA the text is pushed down (as if there is a margin or padding between the top of the control and the top of where the text is rendered.... meaning that I need to make the control 500 x 32 before all of the text appears (single line of text). This creates issues now, because each label needs to be 50% taller to accomodate the exact same text as before.. making control placement problematic (I don't want controls overlapping, which they don't do at 24... but would do if I have to increase to 32) So my question is.. a) is this the way Cocoa is going to be, so learn to live with it? b) is it a "bug" that will be address in a future release? c) is there something addtional I need to assign to Cocoa Labels to make them work like Carbon? btw... It looks FINE in the IDE.... but at runtime it looks bad. _________________ Dave Sisemore MacPro, OSX Lion 10.7.4 RB2012r1 Note : I am not interested in any solutions that involve custom Plug-ins of any kind Top shaosean Post subject: Re: Labels and CocoaPosted: Fri Nov 30, 2012 12:44 am Joined: Mon Aug 15, 2011 10:25 pm Posts: 230 Current IDE is still Carbon hence the reason it looks fine there as well as Carbon apps.. _________________ Real Studio 2012r1.1 | MacBook Pro i5, 10.6.8 | Windows 7 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]
