Hi,

I'm pretty sure I know the answer to this one already, but is anyone aware of a 
way to get/set the layout rect for a view? Or get a frame rect from a layout 
rect, that sort of thing? This is the same layout rect we see in IB, which I 
understand is only available in IB but which I'm hoping is somehow available at 
runtime as well.

The reason I'm asking about this is that the Cocoa way of using the frame rect 
to get and set view bounds makes it very hard to lay out a UI outside of IB, 
particularly for things like push buttons where the padding below the actual 
button is much more than padding at the top.

Seems like Carbon sets the equivalent of the layout rect while Cocoa uses the 
frame rect.

Regards,

Jo Meder_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to