Lazarus

Using the Lazarus IDE => Designer => Topic started by: Blaazen on August 21, 2018, 07:29:58 pm

Title: Please test crsScaleChilds
Post by: Blaazen on August 21, 2018, 07:29:58 pm
Can you please help me to test crsScaleChilds somehow (in trunk)?

I cannot achieve this: http://wiki.freepascal.org/Autosize_/_Layout#crsScaleChilds (http://wiki.freepascal.org/Autosize_/_Layout#crsScaleChilds), i.e. crsScaleChilds always looks and behaves like crsHomogeneousChildResize.
Simpy, I cannot have different width of buttons in each column, no matter if I try to put buttons to GroupBox or to Form. I guess it is a bug.

How I tested:
I put two buttons with diferent width. Then I set (in OI):
ChildSizing.ControlPerLine:=2;
ChildSizing.EnlargeHorizontal:=crsScaleChilds;
ChildSizing.ShrinkHorizontal:=crsScaleChilds;
ChildSizing.Layout:=cclLeftToRightThenTopToBottom;
Now buttons become homogenous, (have the same width).

Try to test differently (if you have idea) maybe I do something wrong.

EDIT: I reported it: https://bugs.freepascal.org/view.php?id=34172 (https://bugs.freepascal.org/view.php?id=34172)
TinyPortal © 2005-2018