Hi.
Im trying to always center my TextBlock with any Value but its not working sadly.
I tried with DefaultJustifcation and SetJustification but nothing is working for me.
AmountText<public> : text_block = text_block{DefaultTextSize := 32.0, DefaultTextColor := White, DefaultJustification := text_justification.Center}
canvas_slot:
Anchors := anchors{Minimum := vector2{X := 0.0, Y := 0.0}, Maximum := vector2{X := 0.0, Y := 0.0}}
Offsets := margin{Left := 56.0, Top := 8.0, Right := 0.0, Bottom := 0.0}
Widget := AmountText
ZOrder := 1
I dont want the Alignment for the whole widget, I want to set the Text Justification to Center.
Does anyone got an Idea for me?
