Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • Lazarus Lazarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2,102
    • Issues 2,102
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • LazarusLazarus
  • LazarusLazarus
  • Issues
  • #36514
Closed
Open
Issue created Jan 04, 2020 by FPC Admin account@fpc_adminOwner

FlowPanel autosizing

Original Reporter info from Mantis: wp @wpam
  • Reporter name:

Description:

Autosizing of TFlowPanel does not work correctly, it always shrinks its width to zero

Steps to reproduce:

Add 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 information:

Doing 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

Mantis conversion info:

  • Mantis ID: 36514
  • Fixed in revision: 62486 (#ec8029f4)
  • Target version: 2.0.8
Assignee
Assign to
Time tracking