Thanks Sean and Luke. What is a better approach: IB or in code in this case?
On Tue, Aug 11, 2009 at 10:48 AM, Luke Hiesterman <[email protected]>wrote: > Sounds like you know the percentages you want. Just get the superview's > bounds and calculate your frames using percentages of those bounds. Update > when orientation changes. Or have subviews auto resize. > > Luke > > Sent from my iPhone. > > > On Aug 11, 2009, at 7:34 AM, Sean Kline <[email protected]> wrote: > > Are you having difficulty laying this out in Interface Builder? It seems >> rather straight forward from what you describe. >> Regards, >> Sean >> >> On Tue, Aug 11, 2009 at 10:14 AM, Ronnie B <[email protected]> wrote: >> >> Hi list. >>> >>> I need to create a rather complex view containing the following from top >>> to >>> bottom: >>> >>> A subview about 20p in height; >>> Two rows of buttons three in each row (both taking a third of a space) >>> A table view taking about a third of a space >>> An add banner >>> >>> I am wondering how this is done. I need to take into account the device >>> orientation. >>> >>> Thanks, >>> Ron >>> _______________________________________________ >>> >>> Cocoa-dev mailing list ([email protected]) >>> >>> 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/skline1967%40gmail.com >>> >>> This email sent to [email protected] >>> >>> _______________________________________________ >> >> Cocoa-dev mailing list ([email protected]) >> >> 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/luketheh%40apple.com >> >> This email sent to [email protected] >> > _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
