Alle 21:25, lunedì 29 gennaio 2007, Robin Dunn ha scritto:
Andrea Gavana wrote:
> Hi Massimo,
>
>> what I desire is to be able to resize the center panes when more than
>> one is
>> opened, while now the panes are both not moveable (and this could be ok,
>> since it's not terribly useful to move them) but neither resizable,
>> despite
>> the fact that AuiPaneInfo says the opposite
>
> I have no idea why it doesn't work. I have tried with a simple example
> and indeed it's impossible to resize or to undock them. Curiously
> enough, it works with PyAUI (development version). Maybe Robin can
> share some comments on this.
Sorry, I don't know either, however it's always been my impression that
the center pane is not floatable, and that docking rules for the other
panes are always relative to the center pane.
When you say it is also not resizable do you mean that manipulating the
sashes between it and the neighboring panes does not result in it being
resized?
the sashes between Centered and non-Centered panes works as expected, while
between Centered panes cannot move.
It's not behaving that way for me, so if yours does please
tell us what is in your center pane?
the center panes contain a AuiNotebook with 2 pages: the first one contains
another auinotebook, while the other an OGL window (see attachment)
If I open more panes like that, they will be stacked vertically, with no way
no resize them.
>Does it have any sizers or min/max
sizes set?
Sure. Nested Vboxes and Hboxes. But if I place these panes in any other
direction, for instance Right, they resize as expected. Obviously in the
center of the frame remains a hole, that is ugly to see.
Cheers
Massimo