12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- [gd_scene load_steps=6 format=2]
-
- [ext_resource path="res://fonts/ButtonFont.tres" type="DynamicFont" id=1]
- [ext_resource path="res://scenes/typo/Button.gd" type="Script" id=2]
-
- [sub_resource type="StyleBoxFlat" id=1]
- content_margin_left = 10.0
- content_margin_right = 10.0
- content_margin_top = 5.0
- content_margin_bottom = 5.0
- bg_color = Color( 0.380392, 0.368627, 0.643137, 1 )
- border_width_left = 1
- border_width_top = 1
- border_width_right = 1
- border_width_bottom = 1
- border_color = Color( 0.213929, 0.201553, 0.433594, 1 )
- corner_radius_top_left = 6
- corner_radius_top_right = 6
- corner_radius_bottom_right = 6
- corner_radius_bottom_left = 6
-
- [sub_resource type="StyleBoxFlat" id=2]
- content_margin_left = 10.0
- content_margin_right = 10.0
- content_margin_top = 5.0
- content_margin_bottom = 5.0
- bg_color = Color( 0.203922, 0.2, 0.34902, 1 )
- border_width_left = 1
- border_width_top = 1
- border_width_right = 1
- border_width_bottom = 1
- border_color = Color( 0.213929, 0.201553, 0.433594, 1 )
- corner_radius_top_left = 6
- corner_radius_top_right = 6
- corner_radius_bottom_right = 6
- corner_radius_bottom_left = 6
-
- [sub_resource type="StyleBoxFlat" id=3]
- content_margin_left = 10.0
- content_margin_right = 10.0
- content_margin_top = 5.0
- content_margin_bottom = 5.0
- bg_color = Color( 0.294118, 0.286275, 0.501961, 1 )
- border_width_left = 1
- border_width_top = 1
- border_width_right = 1
- border_width_bottom = 1
- border_color = Color( 0.213929, 0.201553, 0.433594, 1 )
- corner_radius_top_left = 6
- corner_radius_top_right = 6
- corner_radius_bottom_right = 6
- corner_radius_bottom_left = 6
-
- [node name="CustomButton" type="Button"]
- margin_left = -1.33484
- margin_top = -1.33484
- margin_right = 113.665
- margin_bottom = 50.6652
- custom_styles/hover = SubResource( 1 )
- custom_styles/pressed = SubResource( 2 )
- custom_styles/normal = SubResource( 3 )
- custom_fonts/font = ExtResource( 1 )
- text = "Button"
- script = ExtResource( 2 )
- __meta__ = {
- "_edit_use_anchors_": false
- }
|