Vertically center the login screen wordmark against the logo

The RanaZe/STEP 3 TRAINER text block was top-aligned inside the
brand row's HBoxContainer, which is taller than the text due to the
190x190 icon beside it, so it hugged the top instead of centering
against the shield mark.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
hz
2026-07-26 18:08:36 -05:00
co-authored by Claude Sonnet 5
parent 1d5d03a4f6
commit 548b519d44
+1
View File
@@ -151,6 +151,7 @@ func _build_ui() -> void:
large_icon.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED large_icon.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
brand_row.add_child(large_icon) brand_row.add_child(large_icon)
var wordmark := VBoxContainer.new() var wordmark := VBoxContainer.new()
wordmark.size_flags_vertical = Control.SIZE_SHRINK_CENTER
wordmark.add_theme_constant_override("separation", 4) wordmark.add_theme_constant_override("separation", 4)
brand_row.add_child(wordmark) brand_row.add_child(wordmark)
var name_row := HBoxContainer.new() var name_row := HBoxContainer.new()