xcode - View is moved up when using vertical autoresize -
In my customized window I have a NSTextView that I want to separate from the NSScrollView space. Similarly I have set it in xib.
It looks fine in the interface builder, with the best location between both of them
But when I run the program, the scroll view increases upward, actually covering the text view:
But when I disable vertical autosciks of the scroll view, then everything is working as much as what it should be.
The text view and the scroll view are under NSV, so they are brothers of each other. Most probably it was a system shortage because the scroll view was completely hidden and so it was probably taken.
I have worked it by subclassing NSScrollView and override - OLD SUPPORT with resizing (zero) size: NSSize oldSize_; So now I can give Scroll View a place according to my wish.
Comments
Post a Comment