Page 1 of 1

Layoutmanager for PB?

Posted: Thu May 22, 2008 8:12 pm
by FGK
Hi folks,

what's about the idea to integrate layoutmanagers in PB to place
the gadgets with? This would be an nice enhancement for the
gadget library and simplify the GUI handling due the possibility
of resizing and positioning the gadgets on its own.

Whats your opinion?

FGK

Posted: Thu May 22, 2008 9:08 pm
by srod
What are layout managers exactly? Do you mean gui designers?

Posted: Thu May 22, 2008 10:37 pm
by dell_jockey
srod wrote:What are layout managers exactly? Do you mean gui designers?
layout managers take over the re-shuffling of controls when a user changes his window size. These layout managers contain algorithms that make intelligent decisions about what to resize and where. Some may even adapt the point size of fonts when a window gets resized significantly. A few years back I've seen one in a cross-platform GUI library (WX-something-I-don't-remember-ish...)

Posted: Fri May 23, 2008 8:14 am
by DarkDragon
srod wrote:What are layout managers exactly? Do you mean gui designers?
Layout in java is like docking in other languages. In PB you do the same but manually through moving and resizing the gadgets after the parent window has been resized. It's much more comfortable with docking/layouts. I would like to see this feature.

Posted: Fri May 23, 2008 11:42 am
by dell_jockey
dell_jockey wrote:A few years back I've seen one in a cross-platform GUI library (WX-something-I-don't-remember-ish...)
I now seem to remember that that library was called wxWindows back then. The more recent version of it is called wxWidgets

Posted: Fri May 23, 2008 12:16 pm
by Edwin Knoppert
What a nice image on your website.
Which country is that?

Posted: Fri May 23, 2008 2:54 pm
by freak
This is actually on the list already.

I wrote such a layout engine for the IDE. All its dialogs are sized automatically
from an XML layout to account for the different Font sizes between many Linux systems.

I wanted to turn it into a library for quite a while. I just didn't get around to it yet.

Posted: Fri May 23, 2008 3:15 pm
by Rook Zimbabwe
Timo, PLEASE PLEASE PLEASE get around to it!!! :D