Push RichTextLabels in VBoxContainer to top
Asked Answered
L

1

0

I have 2 RichTextLabels (username and account) inside my VBoxContainer and I want them to be right below each other. But when placing them, it is always spacing them far out, utilising the full height of the container.

From SwiftUI I know the concept of a Spacer that you can put below the last item to push it all to the top. Is there something similar here or am I thinking it wrong?

In the end I want to have x-many labels with different font sizes below each other where some labels are single line and some are multi-line based on dynamic content.

I have played with setting the VBoxContainer's min height value to something like 40px but that only works if there is a static number of labels and content.

Loyceloyd answered 13/11, 2023 at 23:4 Comment(0)
L
0

Loyceloyd I must have messed up somewhere along the way ... just started from scratch and rebuilt the whole scene and now it is working as expected. 🙂

Loyceloyd answered 14/11, 2023 at 12:41 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.