Zitat von Graeme Geldenhuys <graemeg.lists@gmail.com>:

> On 18/02/2008, Felipe Monteiro de Carvalho
> <felipemonteiro.carvalho@gmail.com> wrote:
> >
> > Because on many platforms TMemo = multiline TEdit. So TEdit must
> > support several lines in order to also be a TMemo, and thus must
> > support several sizes.
>
> Ah, thanks Felipe.  So I guess the same applies to TLabel. Some
> platforms support multi-line labels, so resizing must be permitted.
>
> PS:
> Would the TComboBox adjust it's Height automatically (at runtime) when
> the system or application wide font gets changed? I guess this could
> cause overlapping component issues, unless a layout manager or well
> designed Alignment properties have been set.

Yes.
The LCL widgetsets must invalidate the LCL preferred size and send a WMSIZE
message. AFAIK the gtk does. But I did not test it much and I don't know if
other widgetsets already does.

A layout manager is a good idea. Do you have an idea how to automatically apply
a layout manager to an existing fixed layout form? That would be great.


Mattias


