[Lazarus] GUI design: fixed height panel at bottom

Dmitry Boyarintsev skalogryz.lists at gmail.com
Thu Jan 8 05:32:46 CET 2015


The bottom panel should have alignment alBottom. The top panel shoud have
alClient

Thanks,
Dmitry

On Wednesday, January 7, 2015, Marc Santhoff <M.Santhoff at web.de> wrote:

> Hi,
>
> as the subject line says, I want to have a panel attached to the bottom
> and the sides of a form, which is pretty easy to to using the anchor
> editor.
>
> 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.
>
> The panel will hold some components visible in any case, while the rest
> of the for above (in another panel) will show a set of varying
> components depending on context.
>
> How can this be made?
>
> -----------------------------------------
> |                                       |
> |                                       |
> |                                       |
> |    height varying when form resized   |
> |                                       |
> |                                       |
> |                                       |
> |---------------------------------------|
> |                                       |
> |       height fixed                    |
> |                                       |
> -----------------------------------------
>
> --
> Marc Santhoff <M.Santhoff at web.de <javascript:;>>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org <javascript:;>
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150107/42d2c46c/attachment-0003.html>


More information about the Lazarus mailing list