View Issue Details

IDProjectCategoryView StatusLast Update
0036514LazarusLCLpublic2020-01-09 11:25
Reporterwp Assigned Towp  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0036514: FlowPanel autosizing
DescriptionAutosizing of TFlowPanel does not work correctly, it always shrinks its width to zero
Steps To ReproduceAdd a TFlowPanel to a form and put two buttons into the flowpanel. No further changes with these components nieeded.
Set the AutoSize property of the flowpanel to true
--> The width of the flow panel will be reduced to zero.

Only when the width of the flow panel is restricted - by aligning or anchoring the control - autosizing works reasonably.
Additional InformationDoing the same in Delphi XE 10.3 adjusts the width of the flowpanel to the largest button width and stacks the two buttons on top of each other.

Tested on Windows platform.

See also forum post https://forum.lazarus.freepascal.org/index.php/topic,47989.msg344942.html#msg344942
TagsNo tags attached.
Fixed in Revision62486
LazTarget2.0.8
WidgetsetWin32/Win64
Attached Files

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-01-04 13:12 wp New Issue
2020-01-04 13:20 wp Assigned To => Ondrej Pokorny
2020-01-04 13:20 wp Status new => assigned
2020-01-04 13:22 wp Additional Information Updated View Revisions
2020-01-04 13:22 wp LazTarget => -
2020-01-04 13:22 wp Widgetset Win32/Win64 => Win32/Win64
2020-01-04 15:25 wp Assigned To Ondrej Pokorny => wp
2020-01-04 15:29 wp Status assigned => resolved
2020-01-04 15:29 wp Resolution open => fixed
2020-01-04 15:29 wp Fixed in Revision => 62486
2020-01-04 15:29 wp LazTarget - => 2.0.8
2020-01-04 15:29 wp Widgetset Win32/Win64 => Win32/Win64
2020-01-09 11:25 wp Status resolved => closed