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:
@@ -151,6 +151,7 @@ func _build_ui() -> void:
|
||||
large_icon.stretch_mode = TextureRect.STRETCH_KEEP_ASPECT_CENTERED
|
||||
brand_row.add_child(large_icon)
|
||||
var wordmark := VBoxContainer.new()
|
||||
wordmark.size_flags_vertical = Control.SIZE_SHRINK_CENTER
|
||||
wordmark.add_theme_constant_override("separation", 4)
|
||||
brand_row.add_child(wordmark)
|
||||
var name_row := HBoxContainer.new()
|
||||
|
||||
Reference in New Issue
Block a user