Apply theme to OptionButtons in GameScene
Added a new theme resource for OptionButtons to ensure consistent font sizes. Updated MainMenu text to correctly number new players without adding one.
This commit is contained in:
parent
50e777a6fa
commit
59b62d0e72
@ -655,6 +655,7 @@ vertical_alignment = 1
|
|||||||
[node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/chance/HBoxContainer"]
|
[node name="OptionButton" type="OptionButton" parent="ScrollContainer/VBoxContainer/chance/HBoxContainer"]
|
||||||
custom_minimum_size = Vector2(250, 150)
|
custom_minimum_size = Vector2(250, 150)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
theme = ExtResource("3_hdjql")
|
||||||
theme_override_font_sizes/font_size = 50
|
theme_override_font_sizes/font_size = 50
|
||||||
alignment = 1
|
alignment = 1
|
||||||
clip_text = true
|
clip_text = true
|
||||||
|
Loading…
Reference in New Issue
Block a user