[Lazarus] IDE Main Window: height is too small and cannot resize (Linux/GTK2)
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Mon Feb 13 14:47:19 CET 2012
Felipe Monteiro de Carvalho schrieb:
> On Mon, Feb 13, 2012 at 11:34 AM, Hans-Peter Diettrich
> <DrDiettrich1 at aol.com> wrote:
>> The problem in the subject is a different one: there exists *no* way to
>> specify the extent of the *content* (client) part of a window, and let the
>> window manager adjust the *overall* size of the window accordingly,
>> depending on border and caption styles. No problem for Delphi, but the LCL
>> doesn't support that yet :-(
>
> You are completely wrong. Lazarus supports setting the client area of
> the window and this is the only way exposed in TCustomForm.Width,
> Height, ClientWidth, ClientHeight.
Oops, you're right.
> Setting/Getting the total window area including decoration is
> currently exposed only in LCLIntf currently.
Then I wonder why it doesn't work properly with the IDE main window. A
fixed maximal client height is nonsense, because it disallows the user
to enlarge the window when needed. According to the documenation,
AutoSize would be the right choice instead.
DoDi
More information about the Lazarus
mailing list