• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Why is the View height changing when its Origin is changed, interesting isnt it??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Showing a URL with spaces in a NSAlertPanel
  • Next by Date: Re: Loading CFM from Mach-o...
  • Previous by thread: Re: Showing a URL with spaces in a NSAlertPanel
  • Next by thread: PackageMaker from the command line
  • Index(es):
    • Date
    • Thread