![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Newby |
I don’t know how to do it.
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
Asked By | Newby |
I don’t know how to do it.
![]() |
Reply From: | kidscancode |
Alignment can be set to “End” which will make the container start from the right. Make the label the last (bottom) child of the container.
In addition, if you set the label’s Size Flags to “Expand” it will push any other controls to the left.
Using the Expand approach worked for me.
I have multiple elements on the left side and one on the right side. The elements are inside a HBox and then a Control in between. The Control node is empty but has Size Flags Horizontal set to Expand.
HBoxContainer
– HBoxContainerLeft
---- Label
---- TextureRect
– Control
– HBoxContainerRight
---- Label
suumpmolk | 2021-01-21 20:36