Forum > Designer

Please test crsScaleChilds

(1/1)

Blaazen:
Can you please help me to test crsScaleChilds somehow (in trunk)?

I cannot achieve this: 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

Navigation

[0] Message Index

Go to full version