From 586ea7f59caad262017d1c56be8c0b9a27d4a67c Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Fri, 7 Feb 2020 13:46:50 +0100 Subject: [PATCH] add small shadow on button labels --- game/src/Main.tscn | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/game/src/Main.tscn b/game/src/Main.tscn index 07662e1..360c630 100644 --- a/game/src/Main.tscn +++ b/game/src/Main.tscn @@ -55,6 +55,7 @@ margin_top = 228.0 margin_right = 436.0 margin_bottom = 278.0 rect_min_size = Vector2( 0, 50 ) +text = "New Game" flat = true [node name="ColorRect" type="ColorRect" parent="HSplitContainer/VSplitContainer/New Game"] @@ -69,6 +70,9 @@ __meta__ = { anchor_right = 1.0 anchor_bottom = 1.0 custom_fonts/font = ExtResource( 4 ) +custom_colors/font_color_shadow = Color( 0.827451, 0.423529, 0.0666667, 1 ) +custom_constants/shadow_offset_x = 0 +custom_constants/shadow_offset_y = 2 text = "New Game" align = 1 valign = 1 @@ -96,6 +100,9 @@ __meta__ = { anchor_right = 1.0 anchor_bottom = 1.0 custom_fonts/font = ExtResource( 4 ) +custom_colors/font_color_shadow = Color( 0.827451, 0.423529, 0.0666667, 1 ) +custom_constants/shadow_offset_x = 0 +custom_constants/shadow_offset_y = 2 text = "Hints" align = 1 valign = 1 @@ -108,6 +115,8 @@ __meta__ = { material = SubResource( 2 ) anchor_right = 1.0 anchor_bottom = 1.0 +margin_left = 0.510254 +margin_right = 0.510254 __meta__ = { "_edit_use_anchors_": false }