I've also posted this at 
<http://stackoverflow.com/questions/3337717/uicontrol-contenthorizontalalignment-how-to-use-in-a-subclass>

I have a UIControl subclass that manages a set of five subviews; each subview 
is a custom UIView subclass (i.e. not a UILabel or UIImageView).

I'm expecting UIControl to provide some kind of base-level layout behavior 
given the presence of `contentHorizontalAlignment` and 
`contentVerticalAlignment` properties. 

From experimentation, it does not appear that UIControl actually honors either 
of these property values when doing subview layout, at least when the subviews 
are custom UIView subclasses.  

Am I off-base?  I don't object to implementing my own layout behavior.  I just 
don't want to be fighting the framework if UIControl already provides some 
layout behavior that I should be using.

Thanks,

Bill

_______________________________________________

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