Re: iOS: Automatically resizing subviews

2011-06-06 Thread Development
On Jun 6, 2011, at 10:00 AM, Kyle Sluder wrote: > On Jun 6, 2011, at 9:35 AM, Development wrote: > >> >> That might be the problem. I'm not doing this in IB. I'm creating the view's >> programatically. >> >> I also noticed that no matter what I do, the subview's auto resizing mask >> always

Re: iOS: Automatically resizing subviews

2011-06-06 Thread Kyle Sluder
On Jun 6, 2011, at 9:35 AM, Development wrote: > > That might be the problem. I'm not doing this in IB. I'm creating the view's > programatically. > > I also noticed that no matter what I do, the subview's auto resizing mask > always returns 0; Did you make sure you didn't accidentally creat

Re: iOS: Automatically resizing subviews

2011-06-06 Thread Development
That might be the problem. I'm not doing this in IB. I'm creating the view's programatically. I also noticed that no matter what I do, the subview's auto resizing mask always returns 0; Actually the whole thing is a screwed up mess. Neither view seems to respond to the drawing code I try to u

Re: iOS: Automatically resizing subviews

2011-06-06 Thread David Duncan
On Jun 5, 2011, at 11:51 PM, Development wrote: > According to the docs if I want to automatically resize all the subviews of a > view I need to set the View up with > >[self setAutoresizesSubviews:YES]; >self.contentMode =UIViewContentModeScaleToFill; > > No? The contentMode

Re: iOS: Automatically resizing subviews

2011-06-06 Thread Development
The parent view does not clip the subview actually. However the inner view is set to the exact same rectangle as the outer one initially. Would that make a difference? On Jun 6, 2011, at 6:55 AM, Heath Borders wrote: > Make sure your subviews are small enough to fit inside your view initially.

Re: iOS: Automatically resizing subviews

2011-06-06 Thread Heath Borders
Make sure your subviews are small enough to fit inside your view initially. I've had issues with resizing clipped subviews. -Heath On Jun 6, 2011 1:52 AM, "Development" wrote: > I thought I understood how auto resizing worked but I don't > > > According to the docs if I want to automatically resi