aboutsummaryrefslogtreecommitdiff
path: root/dialog/dialog.gd
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-04-05 05:33:23 +0000
committerdam <dam@gudinoff>2022-04-05 05:33:23 +0000
commit2e70e18f24a14f74c00850bfc88071d23ec66da9 (patch)
treef7df659d2e9620ab26c4f4baa987d94c4d7691bb /dialog/dialog.gd
parentee6d791f2b022d0c70616a490c78ba3a1f9c28f4 (diff)
downloadsurgery-log-2e70e18f24a14f74c00850bfc88071d23ec66da9.tar.zst
surgery-log-2e70e18f24a14f74c00850bfc88071d23ec66da9.zip
WIP creating theme and improving UI/UX.
Diffstat (limited to 'dialog/dialog.gd')
-rw-r--r--dialog/dialog.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/dialog/dialog.gd b/dialog/dialog.gd
index 1cf0e66..71981c7 100644
--- a/dialog/dialog.gd
+++ b/dialog/dialog.gd
@@ -22,6 +22,7 @@ func _init():
reject.anchor_top = 1.0
reject.anchor_left = 0.0
reject.anchor_right = 0.5
+ reject.margin_right = -5.0
reject.grow_vertical = Control.GROW_DIRECTION_BEGIN
reject.name = "reject"
reject.connect("pressed", self, "_signal_rejected")
@@ -31,6 +32,7 @@ func _init():
accept.anchor_top = 1.0
accept.anchor_left = 0.5
accept.anchor_right = 1.0
+ accept.margin_left = 5.0
accept.grow_vertical = Control.GROW_DIRECTION_BEGIN
accept.name = "accept"
accept.connect("pressed", self, "_signal_accepted")