Restrict pane resize on Frame Resize |
Post Reply |
Author | |
mojonez
Groupie Joined: 16 September 2008 Status: Offline Points: 17 |
Post Options
Thanks(0)
Posted: 07 March 2012 at 9:25pm |
I have a typical standard frame window with a single docking pane manager with multiple panes. When the user resizes the frame window, i am trying to have only have particular pane(s) resize (e.g. all middle column panes) - not all panes resize gradually as is the default behavior. Sort of a "preferred pane size". In general, all panes have their own custom min/max sizes, so they are not restricted from being manually resized via their splitter directly, so i cant simply set their size as fixed. I tried freezing some panes size on main fame RecalcLayout before the size notify goes into the docking manager, then unfreezing them after, but this does not work (bad things happen in the thread when panemanager->RecalcFrameLayout(pane) is called).
[/code] Skipping the RecalcFrameLayout call doesnt seem to work either. Has anyone found a way to achieve this? |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |