NSSplitView / NSWindow resize problem
NSSplitView / NSWindow resize problem
- Subject: NSSplitView / NSWindow resize problem
- From: "Daniel Angermeier" <email@hidden>
- Date: Fri, 24 Aug 2007 19:46:09 +0200
Hi,
I'm puzzled over a resize problem that I have been trying to solve for
the past 5 days:
I have a NSWindow which autsaves its size and position and a
NSSplitView which is supposed to fill up the whole content view of the
window. I set the split view in IB to resize with the window. For the
splitview I implemented custom autosaving of the devider position .
This works fine 95% of the time. However sometimes the whole split
view only takes up about 1/5 of the windows content view. Since I'm
only saving / restoring nsrects of the splitview's subviews and never
touch the frame of the splitview, how can it ever happen that the
splitview does not fill up the whole rect of the nswindow's content
view.
Has anybody ever experienced a similar resize / autosave issue with windows ?
Any hints on this would be really appreciated.
Many thanks in advance,
Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden