SUI/sui/scenesrc/SuiTextButton.tscn
2024-05-08 20:45:33 +02:00

37 lines
1.2 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://4hi8y7pu3w0v"]
[ext_resource type="Script" path="res://SUI/src/SuiTextButton.gd" id="2_43xd1"]
[ext_resource type="Theme" uid="uid://prqv77t23rsq" path="res://SUI/themes/Button.tres" id="3_u0br7"]
[ext_resource type="Theme" uid="uid://c08yxv1cirbxe" path="res://SUI/themes/RichTextLabel.tres" id="4_vp57w"]
[node name="SuiTextButton" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_right = -700.0
offset_bottom = -490.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2_43xd1")
[node name="Button" type="Button" parent="."]
layout_mode = 0
offset_right = 260.0
offset_bottom = 50.0
theme = ExtResource("3_u0br7")
[node name="Text" type="RichTextLabel" parent="."]
layout_mode = 0
offset_right = 260.0
offset_bottom = 50.0
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