On Tue, 14 Mar 2006 09:55:50 +0200
"Yury Sidorov" <[EMAIL PROTECTED]> wrote:

> From: "Mattias Gaertner" <[EMAIL PROTECTED]>
> > "Yury Sidorov" <[EMAIL PROTECTED]> wrote:
> >
> >> From: <[EMAIL PROTECTED]>
> >> > Yury,
> >> >
> >> > On the wiki you propose to fix the size of dialogs that are simple
> >they > > need to be "internally resizable". What do you mean with that?
> >> > Personally I find it convenient to resize all my dialogs the way I 
> >> > want.
> >> > Do you mean only messagedlg type dialogs, or dialogs like msgview and
> >> > todolist?
> >>
> >> I mean dialogs like messagedlg or simple input forms like "Goto line".
> >> Resizing of such dialogs makes them ugly and is not needed.
> >>
> >> Also some dialogs can be resized only in one direction (width or
> >height). > For example find dialog need to be resized horizontally (to
> >see more text > in  the input field), but not need to be resized
> >vertically (it has no > benefits,  but will make it ugly).
> >>
> >> Under "internally resizable" I mean that dialog can adjust its size
> >based > on  its contents, but user can not size it manually.
> >
> > AFAIK the form size and its content is not completely under control of
> > the LCL. So only the most simplest forms can be made fixed size.
> 
> Sure. If resizing do nothing useful for particular dialog, there is no
> need  to allow user to resize it.

I'm not sure, you understood. 
Especially if the resizing does nothing useful, the fixed size makes
trouble. For example your controls need a height of 200, but the window
manager only gives you a size of 190.

 
> > As the IDE
> > should run on half implemented and buggy widgetsets, I recommend to
> > limit the user only for technical reasons (e.g. not because 'a user can
> > make my program look ugly').
> 
> It can be some sort of "Debug mode" option/define in IDE/LCL to be used in
> such situations.
> 
> > Of course we could add an option for the MessageDlg, so that
> > applications can limit the user.
> 
> IMHO MessageDlg need not be resized at all in any cases.

Then you are living in a perfect world. :)


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to