I have a pane managed by AUI which I would like that it stays at a fixed size or that it does not grow when resizing the dialog which holds the AUI controlled layout.
I tried using MaxSize and Fixed in the AuiPaneInfo but it still is that pane which gets the additional space when I resize the dialog.
Any hints on what else I should try and very welcome.
I have a pane managed by AUI which I would like that it stays at a fixed
size or that it does not grow when resizing the dialog which holds the AUI
controlled layout.
I tried using MaxSize and Fixed in the AuiPaneInfo but it still is that pane
which gets the additional space when I resize the dialog.
Any hints on what else I should try and very welcome.
Using Fixed() should be the way to go... I have tried the AUI demo
(showing all panes) and it seems to me that the fixed pane stays
fixed. Of course, the concept of "fixed" is a bit misleading because a
fixed pane may still be resized if the dock it belongs to contains
other non-fixed panes.
Do you have a small sample app demonstrating the issue?
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
Just tried, but in the sample it does what it says, i.e. it stays fixed. Will look into my stuff some more this afternoon or tomorrow and see what is different.
Will keep you posted.
Werner
···
On 14/12/2012 09:10, Andrea Gavana wrote:
Hi Werner,
On 13 December 2012 17:14, Werner wrote:
Hi,
I have a pane managed by AUI which I would like that it stays at a fixed
size or that it does not grow when resizing the dialog which holds the AUI
controlled layout.
I tried using MaxSize and Fixed in the AuiPaneInfo but it still is that pane
which gets the additional space when I resize the dialog.
Any hints on what else I should try and very welcome.
Using Fixed() should be the way to go... I have tried the AUI demo
(showing all panes) and it seems to me that the fixed pane stays
fixed. Of course, the concept of "fixed" is a bit misleading because a
fixed pane may still be resized if the dock it belongs to contains
other non-fixed panes.
Do you have a small sample app demonstrating the issue?
Just tried, but in the sample it does what it says, i.e. it stays fixed. Will look into my stuff some more this afternoon or tomorrow and see what is different.
Will keep you posted.
Sorry for noise.
I forgot to remove the persistance file for that dialog, which dated from before I made that one pane fixed.
Just tried, but in the sample it does what it says, i.e. it stays fixed.
Will look into my stuff some more this afternoon or tomorrow and see what is
different.
Will keep you posted.
Sorry for noise.
I forgot to remove the persistance file for that dialog, which dated from
before I made that one pane fixed.
No problem, I am happy you fixed it (although you got me a bit scared
as that would have been a very major bug...)
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."