Replies: 2 comments
-
I can't think of something easier than that. Sorry. I'd typically add a custom component that does what I need, but I admit that is not super convenient either and still requires to change each and every item. |
Beta Was this translation helpful? Give feedback.
0 replies
-
+1 I think that implementing a widget similar to the Flexbox in CSS3 should be the ultimate goal. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I have a
VerticalLayout
, and some elements within it. I'd like to centre the items horizontally, but from what I see that requires either:HorizontalLayout
and giving italign: center;
x: parent.width / 2 - self.width / 2;
Is there a better way to do it? If not, are there any plans to adding an alignment property for the other axis, like flexbox with
justify-content
andalign-items
?Beta Was this translation helpful? Give feedback.
All reactions