Prechádzať zdrojové kódy

:lipstick: Shrink the popup size to the pause message

DricomDragon 2 rokov pred
rodič
commit
8488f61a63
1 zmenil súbory, kde vykonal 8 pridanie a 6 odobranie
  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 )]