Am 07.06.2017 um 09:52 schrieb Gabor Boros via Lazarus:
Your example work as expected. If resize the form panel resized properly.
As it should. I simply wanted to show you, what happen when you anchor
the bottom of a panel: Sizing of form, sizes the panel. The same, as in
all your test projects
2017. 06. 07. 8:37 keltezéssel, Michael W. Vogel via Lazarus írta:
You will see, the resizing problem comes from Panel2.
I see. But don't understand. :D
To demonstrate what happen take the added example or create a new app,
put a panel on it and anchor Left, Top, Right to the form sides and
2017. 06. 06. 19:54 keltezéssel, Michael W. Vogel via Lazarus írta:
I can tell you here the same as in the related bug report
https://bugs.freepascal.org/view.php?id=30617, this isn't a bug it is
not happy design. You want that the scrollbox height is increased, but
then the Panel2 height is in
2017. 06. 06. 20:58 keltezéssel, Michael W. Vogel via Lazarus írta:
Please try added example. It is nearly the same as in the bugtracker but
with aligned scrollbox and a scrollbar to switch the height of Panel3.
Is it so as you want?
No. Attached (I hope ) a better example. The user can resize
2017. 06. 06. 19:54 keltezéssel, Michael W. Vogel via Lazarus írta:
Simple remove anchored bottom of Panel2 and the loop is gone.
Yes, but Panel2 not follow the size of form/scrollbox.
As you wrote in bug report: "Thank you for the example but do not do
what I want.", please explain better, w
Am 06.06.2017 um 19:39 schrieb Gabor Boros via Lazarus:
The attached example contains a form with a ScrollBox on it with three
Panels in it. Height of Panel1 is static, height of Panel2 depend on
the size of Form/ScrollBox, height of Panel3 can be modifiable by the
user.
In the example a simple
Hi All,
The attached example contains a form with a ScrollBox on it with three
Panels in it. Height of Panel1 is static, height of Panel2 depend on the
size of Form/ScrollBox, height of Panel3 can be modifiable by the user.
In the example a simple OnClick emulate the variable height feature of