Sfoglia il codice sorgente

:lipstick: Shrink the popup size to the pause message

DricomDragon 2 anni fa
parent
commit
8488f61a63
1 ha cambiato i file con 8 aggiunte e 6 eliminazioni
  1. 8 6
      godot/main.tscn

+ 8 - 6
godot/main.tscn

@@ -68,12 +68,14 @@ title = "Balls"
 
 [node name="PausePopup" type="Popup" parent="UI"]
 pause_mode = 2
-anchor_right = 1.0
-anchor_bottom = 0.8
-margin_left = 40.0
-margin_top = 40.0
-margin_right = -40.0
-margin_bottom = -40.0
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+margin_left = -100.0
+margin_top = -25.0
+margin_right = 100.0
+margin_bottom = 25.0
 script = ExtResource( 10 )
 
 [node name="PauseMessage" parent="UI/PausePopup" instance=ExtResource( 1 )]