andyhill Posted January 12, 2025 Posted January 12, 2025 I have a panel (pnlTop) that fills the top of the MainForm as required and contains objects as well as another panel (pnlProgress) containing a ProgressBar. Both panel layouts are "absolute" (I experimented with all options). How can I get pnlProgress to fill to the right edge of MainForm pnlTop maintaining it's left position. All of the Anchors are set for both panels. Quote
Sherzod Posted January 12, 2025 Posted January 12, 2025 Hello Andy, Were you able to achieve success? Quote
andyhill Posted January 12, 2025 Author Posted January 12, 2025 No, I added the second image to show what I want to achieve - please advise how - thanks Quote
Sherzod Posted January 13, 2025 Posted January 13, 2025 8 hours ago, andyhill said: No, I added the second image to show what I want to achieve - please advise how - thanks Are you using client-side alignment, layout? Quote
andyhill Posted January 13, 2025 Author Posted January 13, 2025 AlignmentControl:= uniAlignmentClient on MainForm, pnlTop, pnlProgress and all other panels. Quote
andyhill Posted January 13, 2025 Author Posted January 13, 2025 I think I have a work around by using the Anchor (not perfect but close). pnlProgress.LayoutConfig.Anchor:= 99% ProgressBar.LayoutConfig.Anchor:= 99% Adapts to browser resizing but not perfectly, when I try 100% it breaks conformity. Why did, Anchors.Top/Left/Bottom/Right fail, Is this something that needs attention in the next update ? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.