SUI/sui/scenesrc/SuiTextButton.tscn

38 lines
1.2 KiB
Text
Raw Normal View History

2024-05-08 20:45:33 +02:00
[gd_scene load_steps=4 format=3 uid="uid://4hi8y7pu3w0v"]
2024-03-23 13:18:44 +01:00
2024-05-10 14:39:53 +02:00
[ext_resource type="Script" path="res://addons/SUI/src/SuiTextButton.gd" id="2_43xd1"]
[ext_resource type="Theme" uid="uid://prqv77t23rsq" path="res://addons/SUI/themes/Button.tres" id="3_u0br7"]
[ext_resource type="Theme" uid="uid://c08yxv1cirbxe" path="res://addons/SUI/themes/RichTextLabel.tres" id="4_vp57w"]
2024-03-23 13:18:44 +01:00
[node name="SuiTextButton" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
2024-05-08 22:13:17 +02:00
offset_right = -1224.0
offset_bottom = -757.0
2024-03-23 13:18:44 +01:00
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_43xd1")
[node name="Button" type="Button" parent="."]
layout_mode = 0
2024-05-08 22:13:17 +02:00
offset_right = 216.0
offset_bottom = 53.0
2024-03-23 13:18:44 +01:00
theme = ExtResource("3_u0br7")
[node name="Text" type="RichTextLabel" parent="."]
layout_mode = 0
2024-05-08 22:13:17 +02:00
offset_right = 216.0
offset_bottom = 53.0
2024-03-23 13:18:44 +01:00
mouse_filter = 2
theme = ExtResource("4_vp57w")
theme_override_font_sizes/normal_font_size = 35
theme_override_font_sizes/bold_font_size = 35
theme_override_font_sizes/italics_font_size = 35
theme_override_font_sizes/bold_italics_font_size = 35
theme_override_font_sizes/mono_font_size = 35
bbcode_enabled = true
text = "[center]SuiTextButton[/center]"
scroll_active = false