On Sun, 11 Dec 2005 20:59:29 +0100
barko <[EMAIL PROTECTED]> wrote:
> The project dialog forms are resizable (lazarus on linux, gtk, latest from
> svn). This is not a good behavior, i think :)
They should only be *not* resizeable, if they use a fixed size.
Since Lazarus aims to be platform independent coding with platform dependent
look, we must consider different themes and languages. Therefore a dialog
will need in almost all cases a dynamic size. The only exception are
completely custom drawn dialogs or completely calculated sized dialogs.
If you have one of these cases, then set the constraints. Although even then
you got the problem of theme switching.
Eventually, when the autosizing is working reliable for nearly all controls
and widgetsets, we will add automatic constraints for forms.
BTW, there are so many fixed size windows dialogs out there, which I wish
they would be resizeable, that I always suggest to keep constraints at a
minimum.
> create new project
> select new form and
> in the object inspector set the option: BorderStyle:=bsDialog, run the
> project...
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives