[Lazarus] GUI design: fixed height panel at bottom

Andreas Schneider aksdb at gmx.de
Thu Jan 8 09:52:40 CET 2015


Am 08.01.2015 um 02:40 schrieb Marc Santhoff:
> What I can't do is make this panel fixed height. Setting it's propety
> height in OnREsize of the form doesn't work, I think the other anchors
> reset the height according to their rules.

Sounds like you set the anchors wrong.
What you described should work with the following anchors:

Large panel:
Top- Left- and Right-Anchor: Form
Bottom-Anchor: Fixed panel

Fixed panel:
Botom-, Left- and Right-Anchor: Form
Top-Anchor: NULL!!

That way, the bottom/fixed panel should always keep its height.

Best regards,
Andreas




More information about the Lazarus mailing list