Jump to content

Centering panels in Column Layout


Max3073

Recommended Posts

Hello. i would like to place some dynamically generated panels in a container panel using "Client Alignment" and Layout = column.

Column alignment seems perfect: panels are perfectly shown in a row that wraps when the form is resized.

There is only one BIG (for me) problem: I cannot find a way to center them.

Please help me.

I'm attaching a picture of the actual result and a sample project that show exactly what I'm doing.

picture.png

UniGUAlignmentTest.zip

Link to comment
Share on other sites

Thank you, i did it: in your demo you use percentages to cover the entire width of the containing panel.

I cannot use percentages,  I need to use the actual size of panels (and I need them to wrap to a second row in case the full size exceeds the container width).

Besides changing your demo and using smaller percentages, you can clearly see that panels are not centered (I'm attaching a picture of your demo)

ColumnDemo.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...