Why is the View height changing when its Origin is changed, interesting isnt it??
Why is the View height changing when its Origin is changed, interesting isnt it??
- Subject: Why is the View height changing when its Origin is changed, interesting isnt it??
- From: "Ashwin A Prabhu" <email@hidden>
- Date: Wed, 21 Jan 2004 20:06:57 +0530
Hi All,
This is a very interesting case!!
The application which i am trying to develop has a TextView and just below
it there is a scrollView.
Now the Text View is auto-resizeable and therefore as its height increases
i have to shift the scrollview down so that the textview doesnt overlap
the scrollView.
For implementing this, what i have done is when the height of the textview
increases, i change(decrease in my case) the origin of the scrollview by
the same amount.
Height here is not changed At ALL but somehow the height is getting
increased.
Also there is Custom View inside this Scrollview whose origin and height
both change(height increases and origin decreases) even though there is no
code written for changing the same.
Is there something to do with the Auto-sizing in the Nib which we can
change in the Interface-builder??
Please help me out!!
Thanking in Advance,
Ashwin.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.