aboutsummaryrefslogtreecommitdiff
path: root/ui/modal_popup
diff options
context:
space:
mode:
Diffstat (limited to 'ui/modal_popup')
-rw-r--r--ui/modal_popup/modal_popup.gd2
-rw-r--r--ui/modal_popup/modal_popup.tscn6
2 files changed, 3 insertions, 5 deletions
diff --git a/ui/modal_popup/modal_popup.gd b/ui/modal_popup/modal_popup.gd
index 857f90e..2a45f38 100644
--- a/ui/modal_popup/modal_popup.gd
+++ b/ui/modal_popup/modal_popup.gd
@@ -42,7 +42,7 @@ func open_popup(title: String, item: Control):
if visible == true:
return
- self.color = get_color("background", "theme")
+ self.color = get_color("background", "Misc")
self.color.a = 0.85
self.title.text = title
diff --git a/ui/modal_popup/modal_popup.tscn b/ui/modal_popup/modal_popup.tscn
index 3814bef..4ee5939 100644
--- a/ui/modal_popup/modal_popup.tscn
+++ b/ui/modal_popup/modal_popup.tscn
@@ -17,11 +17,10 @@ anchor_right = 0.95
anchor_bottom = 0.975
[node name="title" type="Label" parent="."]
-anchor_left = 0.124
+anchor_left = 0.15
anchor_top = 0.025
anchor_right = 0.95
anchor_bottom = 0.1
-margin_left = 0.0799866
margin_right = -80.0
margin_bottom = -20.0
align = 1
@@ -31,10 +30,9 @@ autowrap = true
[node name="dismiss" type="Button" parent="."]
anchor_left = 0.05
anchor_top = 0.025
-anchor_right = 0.124
+anchor_right = 0.15
anchor_bottom = 0.1
margin_right = 0.0799866
margin_bottom = -20.0
custom_fonts/font = ExtResource( 2 )
text = ""
-flat = true