Re: AnimatingTabView broken
Re: AnimatingTabView broken
- Subject: Re: AnimatingTabView broken
- From: Trygve Inda <email@hidden>
- Date: Sat, 16 Feb 2008 21:55:28 +0000
- Thread-topic: AnimatingTabView broken
> I am using Apple's AnimatingTabView class from the Reducer sample code.
>
> AnimatingTabView is a Subclass of NSTabView and it works fine to do nice
> transitions but...
> I am thinking that with a tab view, when it is shrunk, and controls
> naturally move, the hidden tabs do not update their subviews' positioning
> until the tab view needs to be drawn.
Real world test:
Have an NSTabView with 4 tabs and no border or tabs headers visible. Put it
in a Window and cycle through all tabs so each is shown. At this point the
frams of all NSTabViewItem are the same.
Now with tab 0 showing, resize the window. Only the frame of tab 0 changes.
The frams of the other tabs (and the positioning of all the sub items) will
not change until the tab is shown.
How can I force all the hidden tabs to update the positioning of the sub
items. I need to do this so I can gram a bitmap representation of a hidden
tab in the proper position.
I have invoked setAutoresizesSubviews:YES on all the parts but it doesn't
work... They do resize of course, but only as they are needed to be viewed.
I need to force all hidden items to reposition correctly.
Thanks,
Trygve
_______________________________________________
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