Page 1 of 1

Sizers and LayoutManagers

Posted: Wed Dec 17, 2008 10:20 am
by bembulak
Hi!

I've searched this subforum, but havn't found anything. Maybe wrong query parameters. :?

Ok, here's my request:

from some other programming languages and IDEs I know of Sizers and Layoutmanagers.
Some popular Toolkits, wich heavily use Sizers and Layoutmanagers are:
Java Swing
Tcl/TK + Tkinter
wxWindows and Subsets (as wxPython)

Lazarus/FPC and Delphi have anchors, as well as .NET does (.NET also has TableLayoutPanel,...).

I'm sure some other toolkits and languages provide the possebility of automatically doing gadget layout too.

I think this would be a huge enhancement and very useful. Especially if you're doing crossplattfrom development, it's nice to let the used GUI-Toolkit take care of placement and size of the gadgets.
Afaik GTK has sizers too.

Manual placement is ok, but most of the time I want to give "orientation" and not absolut position.
This is mostly because GTK and Windows have very different Fontsizes per default and some other issues.

Thanks!

ResizeGadgets

Posted: Mon Dec 22, 2008 6:19 am
by USCode
Here's a Delphi-like anchor feature I posted here years ago but should still work fine:
http://www.purebasic.fr/english/viewtop ... highlight=

There are others around as well.

Posted: Mon Dec 22, 2008 8:24 am
by bembulak
There are others around as well.
Yes, but they are closed source or NOT crossplattform.

Thanks - this helps.