Ed Leafe explained how, and then said:

> Either way, you will now have your panel with the desired size. Make  
> sure that its sizer settings are Proportion=0, Expand=False so that  
> the sizer doesn't try to resize it.
> 
>  Longer term, I'd be interested in hearing what people think about re- 
> enabling manually setting size from the property sheet. Is it too  
> confusing when using sizers, or should we just let them figure it out?
> 
> -- Ed Leafe

Hello.
I'm very new to both Dabo and Python, so I'm still playing with the 
demos and haven't settled to actually developing anything of my own 
yet. So far, I like everything I see, and I am enjoying (and learning 
from) this list.

It seems quite fortuitous that you are discussing automatic vs. 
manual sizing of panels just now, because it's relevant to one of the 
things I want to do in the application I'm planning.

I need to be able to display an ordered stack or cascade of small 
panels containing time-series data or images. There may be up to 
thirty panels in the stack. The users have to be able to select two 
or more panels from the stack which can then be displayed side-by-
side (or one above another) for visual comparison (imagine a surgeon 
viewing x-rays on a light wall). The user must then be able to put 
panels back into the stack and/or get more panels out to view. The 
stack may or may not retain its initial order. In some ways it will 
be similar to the classic Solitaire card game.

For initially displaying the stack, the program controls the size and 
placement; the user should then get full control of size and 
placement of each panel after he/she selects it from the stack; and 
finally the user clicks the 'return' button and the panel snaps back 
into the stack under program control.

This could be awkward or tedious to achieve if there isn't an easy 
choice between manual and automatic sizing.

I might be completely misunderstanding the use of Dabo's sizers (in 
which case I apologise for taking up your time), but what would be 
wrong with having a pair of simple radio buttons, 'Auto' and 
'Manual', to control the initial/default size of a panel? 

Best regards to everyone here; I'm looking forward to learning to use 
Dabo properly, and to seeing new versions.

Merf Adamson





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Reply via email to