centering content inside a HorizonatalLayoutContainer child
I have a HorizontalLayoutContainer with a child layoutData that sets width="1". I want to use a CenteredLayoutContainer in the child. But CenteredLayoutContainer, set's its parent container to positionable and causes the width="1" to be ignored.
How can I center the widgets inside a HorizontalLayoutContainer child and keep the width="1"?
I'm trying to picture what you're actually trying to accomplish here. A width of 1.0 means 100% which doesn't make sense for centering.
Is there any way you can post a screenshot of what you want to happen and what is happening?
I have 3 columns in an hbox. The center column takes as much width as it needs, I.e. -1. The left and right column take the rest, I.e. 1.
I want to add a label in the left column that is centered within the column.