use button style
This commit is contained in:
parent
d027577886
commit
f5db6bcbc0
1 changed files with 7 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
||||||
[gd_scene load_steps=9 format=2]
|
[gd_scene load_steps=10 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Characters/Villain.tscn" type="PackedScene" id=1]
|
[ext_resource path="res://Characters/Villain.tscn" type="PackedScene" id=1]
|
||||||
[ext_resource path="res://Characters/Player.tscn" type="PackedScene" id=2]
|
[ext_resource path="res://Characters/Player.tscn" type="PackedScene" id=2]
|
||||||
|
@ -7,6 +7,7 @@
|
||||||
[ext_resource path="res://Assets/tres_button/pressed.tres" type="StyleBox" id=5]
|
[ext_resource path="res://Assets/tres_button/pressed.tres" type="StyleBox" id=5]
|
||||||
[ext_resource path="res://Assets/tres_button/hover.tres" type="StyleBox" id=6]
|
[ext_resource path="res://Assets/tres_button/hover.tres" type="StyleBox" id=6]
|
||||||
[ext_resource path="res://Assets/windows.png" type="Texture" id=7]
|
[ext_resource path="res://Assets/windows.png" type="Texture" id=7]
|
||||||
|
[ext_resource path="res://Assets/skin_assets/menu_font.tres" type="DynamicFont" id=8]
|
||||||
|
|
||||||
[sub_resource type="Theme" id=1]
|
[sub_resource type="Theme" id=1]
|
||||||
|
|
||||||
|
@ -18,12 +19,13 @@ position = Vector2( 719, 386 )
|
||||||
script = null
|
script = null
|
||||||
|
|
||||||
[node name="Button" type="Button" parent="."]
|
[node name="Button" type="Button" parent="."]
|
||||||
margin_left = 462.0
|
margin_left = 431.0
|
||||||
margin_top = 361.0
|
margin_top = 349.0
|
||||||
margin_right = 592.0
|
margin_right = 651.0
|
||||||
margin_bottom = 395.0
|
margin_bottom = 386.0
|
||||||
theme = SubResource( 1 )
|
theme = SubResource( 1 )
|
||||||
custom_colors/font_color = Color( 0.27451, 0.207843, 0.207843, 1 )
|
custom_colors/font_color = Color( 0.27451, 0.207843, 0.207843, 1 )
|
||||||
|
custom_fonts/font = ExtResource( 8 )
|
||||||
custom_styles/hover = ExtResource( 6 )
|
custom_styles/hover = ExtResource( 6 )
|
||||||
custom_styles/pressed = ExtResource( 5 )
|
custom_styles/pressed = ExtResource( 5 )
|
||||||
custom_styles/normal = ExtResource( 4 )
|
custom_styles/normal = ExtResource( 4 )
|
||||||
|
|
Reference in a new issue