On Thu, Apr 2, 2009 at 10:57 AM, Werner F. Bruhin wrote:
> Hi Andrea,
>
> Still experimenting with it and without thinking I had not defined a
> CenterPane. Nice that this is supported, i.e. no blank space is left.
>
> However when I un-dock/float a pane I can not re-dock it.
It works for me with the demo. I have just removed from the AUI.py
demo all the instances of:
self._mgr.AddPane(...)
which contain the CenterPane() method and I can dock the panes,
although you need to move the floating pane in regions where panes are
present. Do you have an example which shows your issue?
> When one un-dock's the size is also very very very small and one has to
> manually resize the pane to see anything.
Have you defined any BestSize()/FloatingSize()/MinSize() in your
example? It works fine in the demo for me. Could you send an example
showing your problem?
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
Andrea Gavana wrote:
...
>> I.e. I un-dock the search pane, which gives me a very small floating frame.
>> Then when I pick it up and hover over the bottom of the main frame I get
>> the "dock helpers" and if I select e.g. the top or the center it still docks
>> at the bottom and is very small. - Maybe to do with not having a
>> CenterPane?
>>
>
> Probably. I have never been in a situation when I didn't need a
> CenterPane, but I agree it can be useful. I'll see what I can do about
> it.
>
Don't work on this unless others can see a use for it too. Frankly I am
still unsure and I think it would only bring something if one could get
access to the frame which is in the background (i.e. behind the floating
one).
Werner