wxFormBuilder Drag & Drop widgets not possible?
Fabian Cenedese
Cenedese at indel.ch
Mon Jan 28 05:03:47 PST 2008
>Thank you very much for clearing that up, I guess I do not need to bother with the wxFormBuilder anymore - is this limitation wxWidgets-based? Or can I do absolute positioning with wxWidgets? If that concept of sizers means wxWidgets in general doesn't allow the developer to lay out their own forms, then I'll have to find a different solution.
>
>Right now I'm very dissapointed in wxFormBuilder and - possibly - of wxWidgets. I can't understand how anyone could possibly not care about the optics of their form. This is an approach similar to html, only that in html it makes sense, and here it doesn't :( Don't get me wrong, I understand "the idea" of sizers, as I just finished reading it. I just disagree. A dynamically sized application window is the exception, not the rule.
Using sizers doesn't mean, that your window is necessarily resizable
(though that usually is the best option). You can use fixed sizes, minimal
sizes, place holders etc to get exactly the layout you want, but it may
not be as easy as with VB's drag'n'drop. I've also used FormBuilder
and it has helped me quite a lot in understanding the concept and in
playing around with the various flags. There are some items in my
application that are not resizeable (like labels), but for the most part
they are.
I'm sure there are cases where a fixed layout is needed (e.g. if a real
hardware gets simulated, like those vintage synthesizers). But usually
if I encounter an application that is not resizeable I'm already displeased.
If it fits on a small display it may be too small for a large display and
the other way round. Whenever I made an application in MFC I had
to add all the calculating and moving of the elements to support
resizing. So I myself like the help I get from the wx's sizers. But as
I said there are cases where a fixed layout can be acceptable. Just
my opinion though.
bye Fabi
More information about the wx-users
mailing list