LayoutManager on Lazarus? lazarus / 10-Designer ---------------------------------------------------------------------- guest64953 · 2019-12-09 15:05 Is there anything equivalent to LayoutManager on Java Swing? I found Lazarus use something like AbsoluteLayout by default. When I maximize the Windows, the buttons are still on their old coordinates. So how to make your app look consistent, let alone adapt to different screen size?  p/s: I'm not Delphi developer so don't point me to Delphi, please ---------------------------------------------------------------------- Handoko · 2019-12-09 15:17 I do not follow the discussion but recently people are talking "Modern UI in Lazarus". I believe you may find what you want there. ---------------------------------------------------------------------- MacWomble · 2019-12-09 15:27 You should use anchors  .... ---------------------------------------------------------------------- marcov · 2019-12-09 15:27 There is a layout manager built into the LCL. Component properties like alignment and anchors are parameters for this layout manager. The "modern ui in lazarus" is a (very early) attempt at a different, more web oriented rendering where layout managers places components very roomy, and as a consequence often needs vertical scrolling. ---------------------------------------------------------------------- guest64953 · 2019-12-13 04:01 Quote from: marcov on December 09, 2019, 04:27:07 pmThere is a layout manager built into the LCL. Component properties like alignment and anchors are parameters for this layout manager. The "modern ui in lazarus" is a (very early) attempt at a different, more web oriented rendering where layout managers places components very roomy, and as a consequence often needs vertical scrolling. I'm still troubled with Layout handling on Lazarus. But at least I could use anchor now, still have no idea about align, autosize or layout/childsizing...