Update all demos for Godot 4.6, fix Global Illumination demo

- Rebake lightmaps in Global Illumination demo with supersampling
  to improve quality.
- Increase SDFGI quality in the Global Illumination demo
  (slightly more demanding, but better matches the quality standards
  of 2026).

All demos had Project > Tools > Upgrade Project Files ran on them
with 4.6.stable (4.6.stable.mono for demos in the `mono/` folder).
This commit is contained in:
Hugo Locurcio
2026-02-10 23:53:57 +01:00
parent 1157ad27cd
commit b4eff8de9d
656 changed files with 9259 additions and 9234 deletions

View File

@@ -1,10 +1,10 @@
[gd_scene load_steps=4 format=3 uid="uid://c476bneq2n380"]
[gd_scene format=3 uid="uid://c476bneq2n380"]
[ext_resource type="Script" uid="uid://cxnk00sr4uyf7" path="res://controls.gd" id="1_gpdjo"]
[ext_resource type="Texture2D" uid="uid://c0am3gcgk8uf0" path="res://clear.svg" id="2_qo8cm"]
[ext_resource type="Script" uid="uid://cl70yf5thtjy8" path="res://custom_control.gd" id="3_xwvqn"]
[node name="Accessibility" type="Control"]
[node name="Accessibility" type="Control" unique_id=1963813033]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -13,7 +13,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_gpdjo")
[node name="SectionNames" type="Label" parent="."]
[node name="SectionNames" type="Label" parent="." unique_id=213666325]
layout_mode = 0
offset_left = 40.0
offset_top = 16.0
@@ -22,7 +22,7 @@ offset_bottom = 50.0
theme_override_font_sizes/font_size = 24
text = "Accessible names:"
[node name="NamesDescription1" type="Label" parent="."]
[node name="NamesDescription1" type="Label" parent="." unique_id=782872446]
layout_mode = 0
offset_left = 376.0
offset_top = 56.0
@@ -32,7 +32,7 @@ theme_override_colors/font_color = Color(1, 1, 1, 0.5882353)
text = "Readable name for control can be specified using \"accessible_name\" property."
autowrap_mode = 2
[node name="LabelName" type="Label" parent="."]
[node name="LabelName" type="Label" parent="." unique_id=1300256519]
layout_mode = 0
offset_left = 64.0
offset_top = 56.0
@@ -40,7 +40,7 @@ offset_right = 115.0
offset_bottom = 88.0
text = "Name:"
[node name="LineEditName" type="LineEdit" parent="."]
[node name="LineEditName" type="LineEdit" parent="." unique_id=904152748]
layout_mode = 0
offset_left = 152.0
offset_top = 56.0
@@ -48,7 +48,7 @@ offset_right = 336.0
offset_bottom = 87.0
accessibility_name = "Name"
[node name="NamesDescription2" type="Label" parent="."]
[node name="NamesDescription2" type="Label" parent="." unique_id=240358185]
layout_mode = 0
offset_left = 376.0
offset_top = 104.0
@@ -58,7 +58,7 @@ theme_override_colors/font_color = Color(1, 1, 1, 0.5882353)
text = "Or by setting \"placeholder\" in case of input controls like \"LineEdit\"."
autowrap_mode = 2
[node name="NamesDescription4" type="Label" parent="."]
[node name="NamesDescription4" type="Label" parent="." unique_id=35934507]
layout_mode = 0
offset_left = 376.0
offset_top = 152.0
@@ -68,7 +68,7 @@ theme_override_colors/font_color = Color(1, 1, 1, 0.5882353)
text = "Node without name still works with screen reader, but it's harder to determine its purpose."
autowrap_mode = 2
[node name="LabelType" type="Label" parent="."]
[node name="LabelType" type="Label" parent="." unique_id=264233375]
layout_mode = 0
offset_left = 64.0
offset_top = 104.0
@@ -76,7 +76,7 @@ offset_right = 115.0
offset_bottom = 136.0
text = "Type:"
[node name="LineEditType" type="LineEdit" parent="."]
[node name="LineEditType" type="LineEdit" parent="." unique_id=818358700]
layout_mode = 0
offset_left = 152.0
offset_top = 104.0
@@ -84,7 +84,7 @@ offset_right = 336.0
offset_bottom = 135.0
placeholder_text = "Type"
[node name="NamesDescription3" type="Label" parent="."]
[node name="NamesDescription3" type="Label" parent="." unique_id=289443722]
layout_mode = 0
offset_left = 376.0
offset_top = 200.0
@@ -94,7 +94,7 @@ theme_override_colors/font_color = Color(1, 1, 1, 0.5882353)
text = "Controls with a static \"text\" property, like \"Button\" will use it as the default readable name."
autowrap_mode = 2
[node name="LabelBroken" type="Label" parent="."]
[node name="LabelBroken" type="Label" parent="." unique_id=192307920]
layout_mode = 0
offset_left = 64.0
offset_top = 152.0
@@ -102,14 +102,14 @@ offset_right = 115.0
offset_bottom = 184.0
text = "No name:"
[node name="LineEdit" type="LineEdit" parent="."]
[node name="LineEdit" type="LineEdit" parent="." unique_id=1794883100]
layout_mode = 0
offset_left = 152.0
offset_top = 152.0
offset_right = 336.0
offset_bottom = 183.0
[node name="ButtonOK" type="Button" parent="."]
[node name="ButtonOK" type="Button" parent="." unique_id=119834645]
layout_mode = 0
offset_left = 64.0
offset_top = 200.0
@@ -117,7 +117,7 @@ offset_right = 127.0
offset_bottom = 231.0
text = "OK"
[node name="ButtonClear" type="Button" parent="."]
[node name="ButtonClear" type="Button" parent="." unique_id=1049141907]
layout_mode = 0
offset_left = 136.0
offset_top = 200.0
@@ -126,7 +126,7 @@ offset_bottom = 231.0
accessibility_name = "Clear"
icon = ExtResource("2_qo8cm")
[node name="LabelRegion" type="Label" parent="."]
[node name="LabelRegion" type="Label" parent="." unique_id=1899276034]
layout_mode = 0
offset_left = 40.0
offset_top = 264.0
@@ -135,14 +135,14 @@ offset_bottom = 298.0
theme_override_font_sizes/font_size = 24
text = "Live region:"
[node name="Panel" type="Panel" parent="."]
[node name="Panel" type="Panel" parent="." unique_id=1462412541]
layout_mode = 0
offset_left = 64.0
offset_top = 304.0
offset_right = 336.0
offset_bottom = 352.0
[node name="LabelRegion" type="Label" parent="Panel"]
[node name="LabelRegion" type="Label" parent="Panel" unique_id=835833687]
layout_mode = 0
offset_left = 8.0
offset_top = 8.0
@@ -150,7 +150,7 @@ offset_right = 264.0
offset_bottom = 40.0
accessibility_live = 2
[node name="LineEditLiveReg" type="LineEdit" parent="."]
[node name="LineEditLiveReg" type="LineEdit" parent="." unique_id=740815216]
layout_mode = 0
offset_left = 64.0
offset_top = 368.0
@@ -158,7 +158,7 @@ offset_right = 336.0
offset_bottom = 399.0
placeholder_text = "Live region text"
[node name="LiveDescription1" type="Label" parent="."]
[node name="LiveDescription1" type="Label" parent="." unique_id=369190228]
layout_mode = 0
offset_left = 376.0
offset_top = 304.0
@@ -168,7 +168,7 @@ theme_override_colors/font_color = Color(1, 1, 1, 0.5882353)
text = "Live regions (\"accessibility live\" property) can be used to announce changes to unfocused elements, depending on the setting screen reader will speak changes immediately or whenever the user is idle."
autowrap_mode = 2
[node name="LiveDescription2" type="Label" parent="."]
[node name="LiveDescription2" type="Label" parent="." unique_id=1819907885]
layout_mode = 0
offset_left = 376.0
offset_top = 528.0
@@ -178,7 +178,7 @@ theme_override_colors/font_color = Color(1, 1, 1, 0.5882353)
text = "Accessibility support for a node can be fully customized by implementing \"ACCESSIBILITY_*\" notifications handler and associated virtual methods, see script attached to \"CustomControl\" node."
autowrap_mode = 2
[node name="ButtonSet" type="Button" parent="."]
[node name="ButtonSet" type="Button" parent="." unique_id=946341134]
layout_mode = 0
offset_left = 64.0
offset_top = 416.0
@@ -186,7 +186,7 @@ offset_right = 127.0
offset_bottom = 447.0
text = "Set"
[node name="LabelCustom" type="Label" parent="."]
[node name="LabelCustom" type="Label" parent="." unique_id=1550978795]
layout_mode = 0
offset_left = 40.0
offset_top = 488.0
@@ -195,7 +195,7 @@ offset_bottom = 522.0
theme_override_font_sizes/font_size = 24
text = "Custom control:"
[node name="CustomControl" type="Control" parent="."]
[node name="CustomControl" type="Control" parent="." unique_id=756845376]
anchors_preset = 0
offset_left = 64.0
offset_top = 528.0

View File

@@ -16,7 +16,7 @@ config/description="This is a demo of UI accessibility in Godot.
Demo shows basic UI accessibility features and making custom nodes accessible."
config/tags=PackedStringArray("accessibility", "demo", "gui", "input", "official")
run/main_scene="uid://c50snxy83byec"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
run/max_fps=120
config/icon="uid://dxw1ukquxg8iq"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=21 format=3 uid="uid://bh2d5pblfdq45"]
[gd_scene format=3 uid="uid://bh2d5pblfdq45"]
[ext_resource type="Script" uid="uid://cks0sdo5ku5l7" path="res://bidi.gd" id="2"]
[ext_resource type="FontFile" uid="uid://ck571h1rnbjlr" path="res://fonts/NotoSansThaiUI_Regular.ttf" id="2_plk2w"]
@@ -67,7 +67,7 @@ font_names = PackedStringArray("fantasy")
[sub_resource type="SystemFont" id="SystemFont_oua6b"]
font_names = PackedStringArray("")
[node name="Control" type="Control"]
[node name="Control" type="Control" unique_id=2112274385]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -76,7 +76,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2")
[node name="TabContainer" type="TabContainer" parent="."]
[node name="TabContainer" type="TabContainer" parent="." unique_id=1402785765]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -86,12 +86,12 @@ grow_vertical = 2
theme_override_font_sizes/font_size = 14
current_tab = 3
[node name="Line breaking and justification" type="Panel" parent="TabContainer"]
[node name="Line breaking and justification" type="Panel" parent="TabContainer" unique_id=2071785881]
visible = false
layout_mode = 2
metadata/_tab_index = 0
[node name="LabelBrkInfo" type="Label" parent="TabContainer/Line breaking and justification"]
[node name="LabelBrkInfo" type="Label" parent="TabContainer/Line breaking and justification" unique_id=809935371]
layout_mode = 0
offset_left = 30.0
offset_top = 30.0
@@ -101,7 +101,7 @@ theme_override_colors/font_color = Color(0.419608, 0.831373, 0.505882, 1)
theme_override_font_sizes/font_size = 14
text = "1. Line breaking and space justification."
[node name="LabelTHNoBreak" type="Label" parent="TabContainer/Line breaking and justification"]
[node name="LabelTHNoBreak" type="Label" parent="TabContainer/Line breaking and justification" unique_id=1735356393]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.000891266
@@ -115,7 +115,7 @@ theme_override_font_sizes/font_size = 14
text = "ภาษาไทย หรือ ภาษาไทยกลาง เป็นภาษาราชการและภาษาประจำชาติของประเทศไทย ภาษาไทยเป็นภาษาในกลุ่มภาษาไทซึ่งเป็นกลุ่มย่อยของตระกูลภาษาขร้า-ไท"
autowrap_mode = 3
[node name="LabelTHBreak" type="Label" parent="TabContainer/Line breaking and justification"]
[node name="LabelTHBreak" type="Label" parent="TabContainer/Line breaking and justification" unique_id=1419439453]
layout_mode = 0
offset_left = 30.0
offset_top = 100.0
@@ -127,7 +127,7 @@ text = "ภาษาไทย หรือ ภาษาไทยกลาง เ
horizontal_alignment = 3
autowrap_mode = 3
[node name="LabelJstInfo" type="Label" parent="TabContainer/Line breaking and justification"]
[node name="LabelJstInfo" type="Label" parent="TabContainer/Line breaking and justification" unique_id=647893869]
layout_mode = 0
anchor_top = 0.000891266
anchor_bottom = 0.000891266
@@ -139,7 +139,7 @@ theme_override_colors/font_color = Color(0.420413, 0.832031, 0.504023, 1)
theme_override_font_sizes/font_size = 14
text = "2. Kashida justification."
[node name="LabelARNoJst2" type="Label" parent="TabContainer/Line breaking and justification"]
[node name="LabelARNoJst2" type="Label" parent="TabContainer/Line breaking and justification" unique_id=1418219527]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.000891266
@@ -153,7 +153,7 @@ theme_override_font_sizes/font_size = 14
text = "آنچ اندر وهم ناید آن شوم"
horizontal_alignment = 3
[node name="LabelARJst" type="Label" parent="TabContainer/Line breaking and justification"]
[node name="LabelARJst" type="Label" parent="TabContainer/Line breaking and justification" unique_id=1326661284]
layout_mode = 0
anchor_top = 0.000891266
anchor_bottom = 0.000891266
@@ -165,12 +165,12 @@ theme_override_fonts/font = ExtResource("3_cf43x")
theme_override_font_sizes/font_size = 14
text = "آنچ اندر وهم ناید آن شوم"
[node name="Text direction" type="Panel" parent="TabContainer"]
[node name="Text direction" type="Panel" parent="TabContainer" unique_id=1919060912]
visible = false
layout_mode = 2
metadata/_tab_index = 1
[node name="LabelDirInfo" type="Label" parent="TabContainer/Text direction"]
[node name="LabelDirInfo" type="Label" parent="TabContainer/Text direction" unique_id=1994380411]
layout_mode = 0
offset_left = 30.0
offset_top = 30.0
@@ -180,7 +180,7 @@ theme_override_colors/font_color = Color(0.419608, 0.831373, 0.505882, 1)
theme_override_font_sizes/font_size = 14
text = "1. Base text direction. (Left-to-right, Auto, Right-to-left)"
[node name="LineEditL1" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditL1" type="LineEdit" parent="TabContainer/Text direction" unique_id=1453569994]
layout_mode = 0
offset_left = 30.0
offset_top = 60.0
@@ -193,7 +193,7 @@ editable = false
context_menu_enabled = false
text_direction = 1
[node name="LineEditA1" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditA1" type="LineEdit" parent="TabContainer/Text direction" unique_id=1783722318]
layout_mode = 0
offset_left = 270.0
offset_top = 60.0
@@ -205,7 +205,7 @@ text = "Najaf (ٱلنَّجَف‎), also known as Baniqia."
editable = false
context_menu_enabled = false
[node name="LineEditR1" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditR1" type="LineEdit" parent="TabContainer/Text direction" unique_id=692349140]
modulate = Color(0.847059, 0.54902, 0.54902, 1)
layout_mode = 0
offset_left = 510.0
@@ -219,7 +219,7 @@ editable = false
context_menu_enabled = false
text_direction = 2
[node name="LineEditL2" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditL2" type="LineEdit" parent="TabContainer/Text direction" unique_id=1881498950]
modulate = Color(0.847059, 0.54902, 0.54902, 1)
layout_mode = 0
offset_left = 30.0
@@ -233,7 +233,7 @@ editable = false
context_menu_enabled = false
text_direction = 1
[node name="LineEditA2" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditA2" type="LineEdit" parent="TabContainer/Text direction" unique_id=1599272514]
layout_mode = 0
offset_left = 270.0
offset_top = 100.0
@@ -245,7 +245,7 @@ text = "الإنجليزية أو الإنغليزية (بالإنجليزية:
editable = false
context_menu_enabled = false
[node name="LineEditR2" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditR2" type="LineEdit" parent="TabContainer/Text direction" unique_id=316024513]
layout_mode = 0
offset_left = 510.0
offset_top = 100.0
@@ -258,7 +258,7 @@ editable = false
context_menu_enabled = false
text_direction = 2
[node name="LabelSTInfo" type="Label" parent="TabContainer/Text direction"]
[node name="LabelSTInfo" type="Label" parent="TabContainer/Text direction" unique_id=930539218]
layout_mode = 0
offset_left = 30.0
offset_top = 150.0
@@ -268,7 +268,7 @@ theme_override_colors/font_color = Color(0.419608, 0.831373, 0.505882, 1)
theme_override_font_sizes/font_size = 14
text = "2. BiDi override for structured text (select item in the list to test)."
[node name="Tree" type="Tree" parent="TabContainer/Text direction"]
[node name="Tree" type="Tree" parent="TabContainer/Text direction" unique_id=2045716739]
layout_mode = 0
offset_left = 30.0
offset_top = 180.0
@@ -277,7 +277,7 @@ offset_bottom = 340.0
theme_override_fonts/font = ExtResource("4_03wxc")
theme_override_font_sizes/font_size = 14
[node name="LabelNoST" type="Label" parent="TabContainer/Text direction"]
[node name="LabelNoST" type="Label" parent="TabContainer/Text direction" unique_id=1346253331]
layout_mode = 0
offset_left = 460.0
offset_top = 195.0
@@ -286,7 +286,7 @@ offset_bottom = 215.0
theme_override_font_sizes/font_size = 14
text = "Default BiDi:"
[node name="LabelST" type="Label" parent="TabContainer/Text direction"]
[node name="LabelST" type="Label" parent="TabContainer/Text direction" unique_id=1103780692]
layout_mode = 0
offset_left = 460.0
offset_top = 238.5
@@ -295,7 +295,7 @@ offset_bottom = 258.5
theme_override_font_sizes/font_size = 14
text = "\"File\" override:"
[node name="LineEditNoST" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditNoST" type="LineEdit" parent="TabContainer/Text direction" unique_id=717186537]
layout_mode = 0
offset_left = 582.0
offset_top = 188.0
@@ -306,7 +306,7 @@ theme_override_font_sizes/font_size = 14
editable = false
context_menu_enabled = false
[node name="LineEditST" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditST" type="LineEdit" parent="TabContainer/Text direction" unique_id=196753238]
layout_mode = 0
offset_left = 582.0
offset_top = 236.0
@@ -318,7 +318,7 @@ editable = false
context_menu_enabled = false
structured_text_bidi_override = 2
[node name="LabelSTCustomInfo" type="Label" parent="TabContainer/Text direction"]
[node name="LabelSTCustomInfo" type="Label" parent="TabContainer/Text direction" unique_id=259868996]
layout_mode = 0
offset_left = 30.0
offset_top = 358.0
@@ -328,7 +328,7 @@ theme_override_colors/font_color = Color(0.419608, 0.831373, 0.505882, 1)
theme_override_font_sizes/font_size = 14
text = "3. Custom BiDi override script (split by \":\" and reverse the order, see \"custom_st_parser.gd\"):"
[node name="LineEditCustomSTSource" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditCustomSTSource" type="LineEdit" parent="TabContainer/Text direction" unique_id=1155438910]
layout_mode = 0
offset_left = 30.0
offset_top = 396.0
@@ -338,7 +338,7 @@ theme_override_font_sizes/font_size = 14
text = "first:second:third"
context_menu_enabled = false
[node name="LineEditCustomSTDst" type="LineEdit" parent="TabContainer/Text direction"]
[node name="LineEditCustomSTDst" type="LineEdit" parent="TabContainer/Text direction" unique_id=960635397]
layout_mode = 0
offset_left = 342.0
offset_top = 396.0
@@ -350,12 +350,12 @@ context_menu_enabled = false
structured_text_bidi_override = 6
script = ExtResource("3")
[node name="Font features" type="Panel" parent="TabContainer"]
[node name="Font features" type="Panel" parent="TabContainer" unique_id=1033889080]
visible = false
layout_mode = 2
metadata/_tab_index = 2
[node name="LabelDisplay1" type="Label" parent="TabContainer/Font features"]
[node name="LabelDisplay1" type="Label" parent="TabContainer/Font features" unique_id=4990498]
layout_mode = 0
offset_left = 30.0
offset_top = 30.0
@@ -365,7 +365,7 @@ theme_override_fonts/font = ExtResource("4")
theme_override_font_sizes/font_size = 24
text = "Que fin after 019 1/2 1/3 &, h, β, θ,"
[node name="LabelInfo1" type="Label" parent="TabContainer/Font features"]
[node name="LabelInfo1" type="Label" parent="TabContainer/Font features" unique_id=1124499040]
layout_mode = 0
offset_left = 446.0
offset_top = 30.0
@@ -375,7 +375,7 @@ theme_override_fonts/font = ExtResource("4")
theme_override_font_sizes/font_size = 18
text = "default, no features"
[node name="LabelDisplay2" type="Label" parent="TabContainer/Font features"]
[node name="LabelDisplay2" type="Label" parent="TabContainer/Font features" unique_id=1578664143]
layout_mode = 0
offset_left = 30.0
offset_top = 69.5
@@ -385,7 +385,7 @@ theme_override_fonts/font = SubResource("FontVariation_pn5rb")
theme_override_font_sizes/font_size = 24
text = "Que fin after 019 1/2 1/3 &, h, β, θ,"
[node name="LabelInfo2" type="Label" parent="TabContainer/Font features"]
[node name="LabelInfo2" type="Label" parent="TabContainer/Font features" unique_id=786697731]
layout_mode = 0
offset_left = 446.0
offset_top = 70.0
@@ -395,7 +395,7 @@ theme_override_fonts/font = ExtResource("4")
theme_override_font_sizes/font_size = 18
text = "standard_ligatures=0 (disabled)"
[node name="LabelDisplay3" type="Label" parent="TabContainer/Font features"]
[node name="LabelDisplay3" type="Label" parent="TabContainer/Font features" unique_id=2129899946]
layout_mode = 0
offset_left = 30.0
offset_top = 109.5
@@ -405,7 +405,7 @@ theme_override_fonts/font = SubResource("FontVariation_dej54")
theme_override_font_sizes/font_size = 24
text = "Que fin after 019 1/2 1/3 &, h, β, θ,"
[node name="LabelInfo3" type="Label" parent="TabContainer/Font features"]
[node name="LabelInfo3" type="Label" parent="TabContainer/Font features" unique_id=256783484]
layout_mode = 0
offset_left = 446.0
offset_top = 110.0
@@ -415,7 +415,7 @@ theme_override_fonts/font = ExtResource("4")
theme_override_font_sizes/font_size = 18
text = "small_capitals=1"
[node name="LabelDisplay4" type="Label" parent="TabContainer/Font features"]
[node name="LabelDisplay4" type="Label" parent="TabContainer/Font features" unique_id=1249688737]
layout_mode = 0
offset_left = 31.0
offset_top = 150.5
@@ -425,7 +425,7 @@ theme_override_fonts/font = SubResource("FontVariation_cfykr")
theme_override_font_sizes/font_size = 24
text = "Que fin after 019 1/2 1/3 &, h, β, θ,"
[node name="LabelInfo4" type="Label" parent="TabContainer/Font features"]
[node name="LabelInfo4" type="Label" parent="TabContainer/Font features" unique_id=1533249334]
layout_mode = 0
offset_left = 446.0
offset_top = 150.0
@@ -435,7 +435,7 @@ theme_override_fonts/font = ExtResource("4")
theme_override_font_sizes/font_size = 18
text = "slashed_zero=1"
[node name="LabelDisplay5" type="Label" parent="TabContainer/Font features"]
[node name="LabelDisplay5" type="Label" parent="TabContainer/Font features" unique_id=250310701]
layout_mode = 0
offset_left = 31.0
offset_top = 190.5
@@ -445,7 +445,7 @@ theme_override_fonts/font = SubResource("FontVariation_tbiyt")
theme_override_font_sizes/font_size = 24
text = "Que fin after 019 1/2 1/3 &, h, β, θ,"
[node name="LabelInfo5" type="Label" parent="TabContainer/Font features"]
[node name="LabelInfo5" type="Label" parent="TabContainer/Font features" unique_id=669727831]
layout_mode = 0
offset_left = 446.0
offset_top = 190.0
@@ -455,7 +455,7 @@ theme_override_fonts/font = ExtResource("4")
theme_override_font_sizes/font_size = 18
text = "fractions"
[node name="LabelDisplay6" type="Label" parent="TabContainer/Font features"]
[node name="LabelDisplay6" type="Label" parent="TabContainer/Font features" unique_id=696821580]
layout_mode = 0
offset_left = 31.0
offset_top = 230.5
@@ -465,7 +465,7 @@ theme_override_fonts/font = SubResource("FontVariation_7cco7")
theme_override_font_sizes/font_size = 24
text = "Que fin after 019 1/2 1/3 &, h, β, θ,"
[node name="LabelInfo6" type="Label" parent="TabContainer/Font features"]
[node name="LabelInfo6" type="Label" parent="TabContainer/Font features" unique_id=1537579488]
layout_mode = 0
offset_left = 446.0
offset_top = 230.0
@@ -475,7 +475,7 @@ theme_override_fonts/font = ExtResource("4")
theme_override_font_sizes/font_size = 18
text = "oldstyle_figures=1, stylistic_alternates=1"
[node name="RichTextLabel2" type="RichTextLabel" parent="TabContainer/Font features"]
[node name="RichTextLabel2" type="RichTextLabel" parent="TabContainer/Font features" unique_id=1857107000]
layout_mode = 1
anchors_preset = -1
anchor_left = -0.000334372
@@ -493,11 +493,11 @@ Que fin 1/3 0
[opentype_features=liga=0]Que fin 1/3 0[/opentype_features] [color=#fffa](liga=0 - disables ligatures)[/color]
[opentype_features=frac=1,zero]Que fin 1/3 0[/opentype_features] [color=#fffa](frac=1,zero - fractions and slashed zero)[/color][/font_size]"
[node name="Variable fonts" type="Panel" parent="TabContainer"]
[node name="Variable fonts" type="Panel" parent="TabContainer" unique_id=1541245235]
layout_mode = 2
metadata/_tab_index = 3
[node name="LabelVarInfo" type="Label" parent="TabContainer/Variable fonts"]
[node name="LabelVarInfo" type="Label" parent="TabContainer/Variable fonts" unique_id=499354195]
layout_mode = 0
offset_left = 30.0
offset_top = 30.0
@@ -507,24 +507,24 @@ theme_override_colors/font_color = Color(0.419608, 0.831373, 0.505882, 1)
theme_override_font_sizes/font_size = 14
text = "Variable font example."
[node name="Variables" type="VBoxContainer" parent="TabContainer/Variable fonts"]
[node name="Variables" type="VBoxContainer" parent="TabContainer/Variable fonts" unique_id=2086874218]
layout_mode = 0
offset_left = 40.0
offset_top = 88.0
offset_right = 351.0
offset_bottom = 174.0
[node name="Size" type="HBoxContainer" parent="TabContainer/Variable fonts/Variables"]
[node name="Size" type="HBoxContainer" parent="TabContainer/Variable fonts/Variables" unique_id=1800646212]
layout_mode = 2
theme_override_constants/separation = 20
[node name="Label" type="Label" parent="TabContainer/Variable fonts/Variables/Size"]
[node name="Label" type="Label" parent="TabContainer/Variable fonts/Variables/Size" unique_id=1977982162]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.3
text = "Size"
[node name="HSlider" type="HSlider" parent="TabContainer/Variable fonts/Variables/Size"]
[node name="HSlider" type="HSlider" parent="TabContainer/Variable fonts/Variables/Size" unique_id=1682038598]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
@@ -532,23 +532,23 @@ min_value = 8.0
max_value = 128.0
value = 64.0
[node name="Value" type="Label" parent="TabContainer/Variable fonts/Variables/Size"]
[node name="Value" type="Label" parent="TabContainer/Variable fonts/Variables/Size" unique_id=1013329290]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.2
text = "64"
[node name="Weight" type="HBoxContainer" parent="TabContainer/Variable fonts/Variables"]
[node name="Weight" type="HBoxContainer" parent="TabContainer/Variable fonts/Variables" unique_id=1756289791]
layout_mode = 2
theme_override_constants/separation = 20
[node name="Label" type="Label" parent="TabContainer/Variable fonts/Variables/Weight"]
[node name="Label" type="Label" parent="TabContainer/Variable fonts/Variables/Weight" unique_id=90194045]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.3
text = "Weight"
[node name="HSlider" type="HSlider" parent="TabContainer/Variable fonts/Variables/Weight"]
[node name="HSlider" type="HSlider" parent="TabContainer/Variable fonts/Variables/Weight" unique_id=891880297]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
@@ -557,54 +557,54 @@ max_value = 1000.0
step = 50.0
value = 400.0
[node name="Value" type="Label" parent="TabContainer/Variable fonts/Variables/Weight"]
[node name="Value" type="Label" parent="TabContainer/Variable fonts/Variables/Weight" unique_id=1271957]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.2
text = "400"
[node name="Slant" type="HBoxContainer" parent="TabContainer/Variable fonts/Variables"]
[node name="Slant" type="HBoxContainer" parent="TabContainer/Variable fonts/Variables" unique_id=105057466]
layout_mode = 2
theme_override_constants/separation = 20
[node name="Label" type="Label" parent="TabContainer/Variable fonts/Variables/Slant"]
[node name="Label" type="Label" parent="TabContainer/Variable fonts/Variables/Slant" unique_id=999284563]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.3
text = "Slant"
[node name="HSlider" type="HSlider" parent="TabContainer/Variable fonts/Variables/Slant"]
[node name="HSlider" type="HSlider" parent="TabContainer/Variable fonts/Variables/Slant" unique_id=605425760]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
min_value = -15.0
max_value = 0.0
[node name="Value" type="Label" parent="TabContainer/Variable fonts/Variables/Slant"]
[node name="Value" type="Label" parent="TabContainer/Variable fonts/Variables/Slant" unique_id=2034304315]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.2
text = "0"
[node name="Cursive" type="CheckButton" parent="TabContainer/Variable fonts/Variables"]
[node name="Cursive" type="CheckButton" parent="TabContainer/Variable fonts/Variables" unique_id=601352149]
custom_minimum_size = Vector2(140, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Cursive"
[node name="Casual" type="CheckButton" parent="TabContainer/Variable fonts/Variables"]
[node name="Casual" type="CheckButton" parent="TabContainer/Variable fonts/Variables" unique_id=838880064]
custom_minimum_size = Vector2(140, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Casual"
[node name="Monospace" type="CheckButton" parent="TabContainer/Variable fonts/Variables"]
[node name="Monospace" type="CheckButton" parent="TabContainer/Variable fonts/Variables" unique_id=1944566788]
custom_minimum_size = Vector2(140, 0)
layout_mode = 2
size_flags_horizontal = 0
text = "Monospace"
[node name="VariableFontPreview" type="LineEdit" parent="TabContainer/Variable fonts"]
[node name="VariableFontPreview" type="LineEdit" parent="TabContainer/Variable fonts" unique_id=852011595]
layout_mode = 0
offset_left = 36.0
offset_top = 347.0
@@ -614,7 +614,7 @@ theme_override_fonts/font = SubResource("FontVariation_vb6m6")
theme_override_font_sizes/font_size = 64
text = "Example text 1234567890"
[node name="LinkButton" type="LinkButton" parent="TabContainer/Variable fonts/VariableFontPreview"]
[node name="LinkButton" type="LinkButton" parent="TabContainer/Variable fonts/VariableFontPreview" unique_id=925812179]
layout_mode = 0
offset_left = 959.0
offset_top = 193.0
@@ -623,12 +623,12 @@ offset_bottom = 238.0
text = "Font: Recursive"
uri = "https://www.recursive.design/"
[node name="System fonts" type="Panel" parent="TabContainer"]
[node name="System fonts" type="Panel" parent="TabContainer" unique_id=819845021]
visible = false
layout_mode = 2
metadata/_tab_index = 4
[node name="LabelVarInfo" type="Label" parent="TabContainer/System fonts"]
[node name="LabelVarInfo" type="Label" parent="TabContainer/System fonts" unique_id=1763054789]
layout_mode = 0
offset_left = 30.0
offset_top = 30.0
@@ -638,7 +638,7 @@ theme_override_colors/font_color = Color(0.419608, 0.831373, 0.505882, 1)
theme_override_font_sizes/font_size = 14
text = "Loading and displaying system fonts."
[node name="ValueSetter" type="LineEdit" parent="TabContainer/System fonts"]
[node name="ValueSetter" type="LineEdit" parent="TabContainer/System fonts" unique_id=427230079]
layout_mode = 0
offset_left = 36.0
offset_top = 77.0
@@ -647,7 +647,7 @@ offset_bottom = 108.0
text = "Example text 1234567890"
placeholder_text = "Enter text here"
[node name="Italic" type="CheckButton" parent="TabContainer/System fonts"]
[node name="Italic" type="CheckButton" parent="TabContainer/System fonts" unique_id=1584084659]
layout_mode = 0
offset_left = 406.0
offset_top = 116.0
@@ -655,7 +655,7 @@ offset_right = 492.0
offset_bottom = 147.0
text = "Italic"
[node name="Weight" type="HBoxContainer" parent="TabContainer/System fonts"]
[node name="Weight" type="HBoxContainer" parent="TabContainer/System fonts" unique_id=1520726525]
layout_mode = 0
offset_left = 40.0
offset_top = 120.0
@@ -663,13 +663,13 @@ offset_right = 383.0
offset_bottom = 146.0
theme_override_constants/separation = 20
[node name="Label" type="Label" parent="TabContainer/System fonts/Weight"]
[node name="Label" type="Label" parent="TabContainer/System fonts/Weight" unique_id=724460388]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.3
text = "Weight"
[node name="HSlider" type="HSlider" parent="TabContainer/System fonts/Weight"]
[node name="HSlider" type="HSlider" parent="TabContainer/System fonts/Weight" unique_id=1620327210]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 4
@@ -678,31 +678,31 @@ max_value = 900.0
step = 100.0
value = 400.0
[node name="Value" type="Label" parent="TabContainer/System fonts/Weight"]
[node name="Value" type="Label" parent="TabContainer/System fonts/Weight" unique_id=1113341165]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.2
text = "400"
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/System fonts"]
[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/System fonts" unique_id=966083422]
layout_mode = 0
offset_left = 37.0
offset_top = 176.0
offset_right = 1126.0
offset_bottom = 489.0
[node name="SansSerif" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer"]
[node name="SansSerif" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer" unique_id=684025726]
layout_mode = 2
theme_override_constants/separation = 20
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/SansSerif"]
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/SansSerif" unique_id=406253724]
custom_minimum_size = Vector2(330, 0)
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_2w5b3")
theme_override_font_sizes/font_size = 32
text = "sans-serif"
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/SansSerif"]
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/SansSerif" unique_id=1330275445]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("SystemFont_2w5b3")
@@ -710,18 +710,18 @@ theme_override_font_sizes/font_size = 32
text = "Example text 1234567890"
text_overrun_behavior = 3
[node name="Serif" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer"]
[node name="Serif" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer" unique_id=1069263523]
layout_mode = 2
theme_override_constants/separation = 20
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Serif"]
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Serif" unique_id=1791812756]
custom_minimum_size = Vector2(330, 0)
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_h8xpn")
theme_override_font_sizes/font_size = 32
text = "serif"
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Serif"]
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Serif" unique_id=445916503]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("SystemFont_h8xpn")
@@ -729,18 +729,18 @@ theme_override_font_sizes/font_size = 32
text = "Example text 1234567890"
text_overrun_behavior = 3
[node name="Monospace" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer"]
[node name="Monospace" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer" unique_id=499158349]
layout_mode = 2
theme_override_constants/separation = 20
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Monospace"]
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Monospace" unique_id=1430075718]
custom_minimum_size = Vector2(330, 0)
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_4rcq4")
theme_override_font_sizes/font_size = 32
text = "monospace"
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Monospace"]
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Monospace" unique_id=1835442776]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("SystemFont_4rcq4")
@@ -748,18 +748,18 @@ theme_override_font_sizes/font_size = 32
text = "Example text 1234567890"
text_overrun_behavior = 3
[node name="Cursive" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer"]
[node name="Cursive" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer" unique_id=341303785]
layout_mode = 2
theme_override_constants/separation = 20
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Cursive"]
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Cursive" unique_id=300367808]
custom_minimum_size = Vector2(330, 0)
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_gnv0g")
theme_override_font_sizes/font_size = 32
text = "cursive"
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Cursive"]
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Cursive" unique_id=442938809]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("SystemFont_gnv0g")
@@ -767,18 +767,18 @@ theme_override_font_sizes/font_size = 32
text = "Example text 1234567890"
text_overrun_behavior = 3
[node name="Fantasy" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer"]
[node name="Fantasy" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer" unique_id=883599122]
layout_mode = 2
theme_override_constants/separation = 20
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Fantasy"]
[node name="FontName" type="Label" parent="TabContainer/System fonts/VBoxContainer/Fantasy" unique_id=1301603165]
custom_minimum_size = Vector2(330, 0)
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_f282f")
theme_override_font_sizes/font_size = 32
text = "fantasy"
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Fantasy"]
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Fantasy" unique_id=292118317]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("SystemFont_f282f")
@@ -786,18 +786,18 @@ theme_override_font_sizes/font_size = 32
text = "Example text 1234567890"
text_overrun_behavior = 3
[node name="Custom" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer"]
[node name="Custom" type="HBoxContainer" parent="TabContainer/System fonts/VBoxContainer" unique_id=1726610927]
layout_mode = 2
theme_override_constants/separation = 20
[node name="FontName" type="LineEdit" parent="TabContainer/System fonts/VBoxContainer/Custom"]
[node name="FontName" type="LineEdit" parent="TabContainer/System fonts/VBoxContainer/Custom" unique_id=264799845]
custom_minimum_size = Vector2(330, 0)
layout_mode = 2
theme_override_fonts/font = SubResource("SystemFont_oua6b")
theme_override_font_sizes/font_size = 32
placeholder_text = "Custom Font Name"
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Custom"]
[node name="Value" type="Label" parent="TabContainer/System fonts/VBoxContainer/Custom" unique_id=284497333]
layout_mode = 2
size_flags_horizontal = 3
theme_override_fonts/font = SubResource("SystemFont_oua6b")

View File

@@ -1,4 +1,4 @@
[gd_resource type="FontVariation" load_steps=2 format=3 uid="uid://dl6ocejcxbr1j"]
[gd_resource type="FontVariation" format=3 uid="uid://dl6ocejcxbr1j"]
[ext_resource type="FontFile" uid="uid://1ihjtdd3prly" path="res://fonts/LinLibertine_R.otf" id="1"]

View File

@@ -1,4 +1,4 @@
[gd_resource type="FontVariation" load_steps=2 format=3 uid="uid://bocju4r7jiega"]
[gd_resource type="FontVariation" format=3 uid="uid://bocju4r7jiega"]
[ext_resource type="FontFile" uid="uid://120w16oyolc4" path="res://fonts/NotoSansHebrew_Regular.ttf" id="1_yyyil"]

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="BiDi and Font Features"
config/tags=PackedStringArray("demo", "gui", "official")
run/main_scene="res://bidi.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
run/low_processor_mode=true
config/icon="res://icon.webp"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=6 format=3 uid="uid://dqguuy0aao4cr"]
[gd_scene format=3 uid="uid://dqguuy0aao4cr"]
[ext_resource type="Texture2D" uid="uid://t1yntfol7yga" path="res://icon.webp" id="1_8tycj"]
[ext_resource type="Script" uid="uid://cidbihqfdp2ne" path="res://tree.gd" id="2_68sc3"]
@@ -19,7 +19,7 @@ corner_radius_bottom_left = 5
[sub_resource type="FoldableGroup" id="FoldableGroup_wdd8d"]
allow_folding_all = true
[node name="ControlGallery" type="Control"]
[node name="ControlGallery" type="Control" unique_id=78764481]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -27,7 +27,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="MainPanel" type="ColorRect" parent="."]
[node name="MainPanel" type="ColorRect" parent="." unique_id=1034846833]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -36,7 +36,7 @@ grow_horizontal = 2
grow_vertical = 2
color = Color(0.211765, 0.211765, 0.211765, 1)
[node name="HSplitContainer" type="HSplitContainer" parent="MainPanel"]
[node name="HSplitContainer" type="HSplitContainer" parent="MainPanel" unique_id=1275855520]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -50,26 +50,26 @@ grow_vertical = 2
theme_override_constants/separation = 0
theme_override_constants/minimum_grab_thickness = 24
[node name="BasicControls" type="PanelContainer" parent="MainPanel/HSplitContainer"]
[node name="BasicControls" type="PanelContainer" parent="MainPanel/HSplitContainer" unique_id=628401494]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxFlat_bl4wp")
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/BasicControls"]
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/BasicControls" unique_id=883181152]
layout_mode = 2
size_flags_horizontal = 3
[node name="Title" type="Label" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="Title" type="Label" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=1110287641]
layout_mode = 2
theme_override_font_sizes/font_size = 24
text = "Basic controls"
horizontal_alignment = 1
[node name="Button" type="Button" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="Button" type="Button" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=904492456]
layout_mode = 2
text = "Button"
[node name="LinkButton" type="LinkButton" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="LinkButton" type="LinkButton" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=2022276294]
layout_mode = 2
tooltip_text = "This is a tooltip.
@@ -77,53 +77,53 @@ Its background is styled using the TooltipPanel class within a Theme resource.
Its text is styled using the TooltipLabel class within a Theme resource."
text = "LinkButton (hover me for tooltip)"
[node name="ColorPickerContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="ColorPickerContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=1708761196]
layout_mode = 2
[node name="ColorPickerButton" type="ColorPickerButton" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/ColorPickerContainer"]
[node name="ColorPickerButton" type="ColorPickerButton" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/ColorPickerContainer" unique_id=1495684353]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.3
color = Color(0.278431, 0.54902, 0.74902, 1)
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/ColorPickerContainer"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/ColorPickerContainer" unique_id=957577956]
layout_mode = 2
size_flags_horizontal = 3
text = "ColorPickerButton"
[node name="CheckBox" type="CheckBox" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="CheckBox" type="CheckBox" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=1270598086]
layout_mode = 2
text = "CheckBox"
[node name="CheckButton" type="CheckButton" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="CheckButton" type="CheckButton" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=580803055]
layout_mode = 2
text = "CheckButton"
[node name="LineEdit" type="LineEdit" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="LineEdit" type="LineEdit" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=1971128392]
layout_mode = 2
text = "LineEdit"
[node name="TextEdit" type="TextEdit" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="TextEdit" type="TextEdit" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=733473856]
custom_minimum_size = Vector2(0, 110)
layout_mode = 2
text = "TextEdit
Unlike LineEdit, I accept multiple lines."
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=759413544]
layout_mode = 2
text = "Label"
[node name="TabContainer" type="TabContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer"]
[node name="TabContainer" type="TabContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer" unique_id=689183550]
custom_minimum_size = Vector2(0, 236)
layout_mode = 2
current_tab = 0
[node name="Tab 1" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer"]
[node name="Tab 1" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer" unique_id=1140292982]
layout_mode = 2
metadata/_tab_index = 0
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 1"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 1" unique_id=19013188]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -135,7 +135,7 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 30
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 1/MarginContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 1/MarginContainer" unique_id=2121543761]
layout_mode = 2
focus_mode = 2
bbcode_enabled = true
@@ -143,12 +143,12 @@ text = "[center]RichTextLabel: [color=#8ff]Tab 1[/color] is selected.[/center]"
context_menu_enabled = true
selection_enabled = true
[node name="Tab 2" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer"]
[node name="Tab 2" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer" unique_id=1377173406]
visible = false
layout_mode = 2
metadata/_tab_index = 1
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 2"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 2" unique_id=1564521247]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -160,7 +160,7 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 30
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 2/MarginContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 2/MarginContainer" unique_id=1867012619]
layout_mode = 2
focus_mode = 2
bbcode_enabled = true
@@ -168,12 +168,12 @@ text = "[center]RichTextLabel: [color=#ff8]Tab 2[/color] is selected.[/center]"
context_menu_enabled = true
selection_enabled = true
[node name="Tab 3" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer"]
[node name="Tab 3" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer" unique_id=1930679710]
visible = false
layout_mode = 2
metadata/_tab_index = 2
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 3"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 3" unique_id=812917956]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -185,7 +185,7 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 30
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 3/MarginContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 3/MarginContainer" unique_id=103690741]
layout_mode = 2
focus_mode = 2
bbcode_enabled = true
@@ -193,12 +193,12 @@ text = "[center]RichTextLabel: [color=#8f8]Tab 3[/color] is selected.[/center]"
context_menu_enabled = true
selection_enabled = true
[node name="Tab 4" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer"]
[node name="Tab 4" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer" unique_id=1269043326]
visible = false
layout_mode = 2
metadata/_tab_index = 3
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 4"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 4" unique_id=204317753]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -210,7 +210,7 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 30
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 4/MarginContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 4/MarginContainer" unique_id=1991540811]
layout_mode = 2
focus_mode = 2
bbcode_enabled = true
@@ -218,12 +218,12 @@ text = "[center]RichTextLabel: [color=#f88]Tab 4[/color] is selected.[/center]"
context_menu_enabled = true
selection_enabled = true
[node name="Tab 5" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer"]
[node name="Tab 5" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer" unique_id=952875062]
visible = false
layout_mode = 2
metadata/_tab_index = 4
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 5"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 5" unique_id=790172499]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -235,7 +235,7 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 30
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 5/MarginContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 5/MarginContainer" unique_id=2069495207]
layout_mode = 2
focus_mode = 2
bbcode_enabled = true
@@ -243,12 +243,12 @@ text = "[center]RichTextLabel: [color=#f8f]Tab 5[/color] is selected.[/center]"
context_menu_enabled = true
selection_enabled = true
[node name="Tab 6" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer"]
[node name="Tab 6" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer" unique_id=1642309054]
visible = false
layout_mode = 2
metadata/_tab_index = 5
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 6"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 6" unique_id=1967267626]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -260,7 +260,7 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 30
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 6/MarginContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 6/MarginContainer" unique_id=389132194]
layout_mode = 2
focus_mode = 2
bbcode_enabled = true
@@ -268,12 +268,12 @@ text = "[center]RichTextLabel: [color=#b8f]Tab 6[/color] is selected.[/center]"
context_menu_enabled = true
selection_enabled = true
[node name="Tab 7" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer"]
[node name="Tab 7" type="Control" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer" unique_id=637743948]
visible = false
layout_mode = 2
metadata/_tab_index = 6
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 7"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 7" unique_id=191909952]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -285,7 +285,7 @@ theme_override_constants/margin_top = 30
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 30
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 7/MarginContainer"]
[node name="RichTextLabel" type="RichTextLabel" parent="MainPanel/HSplitContainer/BasicControls/VBoxContainer/TabContainer/Tab 7/MarginContainer" unique_id=1024371952]
layout_mode = 2
focus_mode = 2
bbcode_enabled = true
@@ -293,85 +293,85 @@ text = "[center]RichTextLabel: [color=#fb6]Tab 7[/color] is selected.[/center]"
context_menu_enabled = true
selection_enabled = true
[node name="VSplitContainer" type="VSplitContainer" parent="MainPanel/HSplitContainer"]
[node name="VSplitContainer" type="VSplitContainer" parent="MainPanel/HSplitContainer" unique_id=1004997238]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 2.0
theme_override_constants/separation = 0
theme_override_constants/minimum_grab_thickness = 24
[node name="Numbers" type="PanelContainer" parent="MainPanel/HSplitContainer/VSplitContainer"]
[node name="Numbers" type="PanelContainer" parent="MainPanel/HSplitContainer/VSplitContainer" unique_id=294909274]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_bl4wp")
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers"]
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers" unique_id=1638249311]
layout_mode = 2
[node name="Title" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer"]
[node name="Title" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer" unique_id=1283071032]
layout_mode = 2
theme_override_font_sizes/font_size = 24
text = "Numbers"
horizontal_alignment = 1
[node name="SpinBox" type="SpinBox" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer"]
[node name="SpinBox" type="SpinBox" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer" unique_id=1560052117]
custom_minimum_size = Vector2(255, 0)
layout_mode = 2
size_flags_horizontal = 0
prefix = "SpinBox"
[node name="HSliderContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer"]
[node name="HSliderContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer" unique_id=2100582010]
layout_mode = 2
theme_override_constants/separation = 10
[node name="HSlider" type="HSlider" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSliderContainer"]
[node name="HSlider" type="HSlider" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSliderContainer" unique_id=1574616656]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.5
value = 50.0
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSliderContainer"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSliderContainer" unique_id=2143002255]
layout_mode = 2
size_flags_horizontal = 3
text = "HSlider"
[node name="ProgressBarContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer"]
[node name="ProgressBarContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer" unique_id=420632005]
layout_mode = 2
theme_override_constants/separation = 10
[node name="ProgressBar" type="ProgressBar" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/ProgressBarContainer"]
[node name="ProgressBar" type="ProgressBar" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/ProgressBarContainer" unique_id=179912655]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.5
value = 50.0
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/ProgressBarContainer"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/ProgressBarContainer" unique_id=1199026510]
layout_mode = 2
size_flags_horizontal = 3
text = "ProgressBar"
[node name="HSeparatorContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer"]
[node name="HSeparatorContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer" unique_id=1108687981]
layout_mode = 2
[node name="HSeparatorLeft" type="HSeparator" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSeparatorContainer"]
[node name="HSeparatorLeft" type="HSeparator" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSeparatorContainer" unique_id=1784174493]
layout_mode = 2
size_flags_horizontal = 3
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSeparatorContainer"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSeparatorContainer" unique_id=1956410353]
layout_mode = 2
text = "HSeparator"
[node name="HSeparatorRight" type="HSeparator" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSeparatorContainer"]
[node name="HSeparatorRight" type="HSeparator" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/HSeparatorContainer" unique_id=1304747999]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextureProgressContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer"]
[node name="TextureProgressContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer" unique_id=1740446843]
layout_mode = 2
[node name="Control" type="Control" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/TextureProgressContainer"]
[node name="Control" type="Control" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/TextureProgressContainer" unique_id=207220786]
custom_minimum_size = Vector2(64, 64)
layout_mode = 2
[node name="TextureProgressBar" type="TextureProgressBar" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/TextureProgressContainer/Control"]
[node name="TextureProgressBar" type="TextureProgressBar" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/TextureProgressContainer/Control" unique_id=1266030049]
layout_mode = 0
offset_right = 128.0
offset_bottom = 128.0
@@ -380,36 +380,36 @@ value = 67.0
fill_mode = 4
texture_progress = ExtResource("1_8tycj")
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/TextureProgressContainer"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Numbers/VBoxContainer/TextureProgressContainer" unique_id=455224450]
layout_mode = 2
text = "TextureProgressBar"
[node name="Lists" type="PanelContainer" parent="MainPanel/HSplitContainer/VSplitContainer"]
[node name="Lists" type="PanelContainer" parent="MainPanel/HSplitContainer/VSplitContainer" unique_id=1301511605]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
size_flags_stretch_ratio = 2.5
theme_override_styles/panel = SubResource("StyleBoxFlat_bl4wp")
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists"]
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists" unique_id=2016675810]
layout_mode = 2
[node name="Title" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer"]
[node name="Title" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer" unique_id=1247316934]
layout_mode = 2
theme_override_font_sizes/font_size = 24
text = "Lists"
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer" unique_id=659921552]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 10
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer" unique_id=1824269238]
layout_mode = 2
size_flags_horizontal = 3
[node name="OptionButton" type="OptionButton" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer"]
[node name="OptionButton" type="OptionButton" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer" unique_id=1730384275]
layout_mode = 2
size_flags_horizontal = 0
selected = 0
@@ -427,7 +427,7 @@ popup/item_4/text = "Disabled Item"
popup/item_4/id = 2
popup/item_4/disabled = true
[node name="MenuButton" type="MenuButton" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer"]
[node name="MenuButton" type="MenuButton" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer" unique_id=1777755964]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
size_flags_horizontal = 0
@@ -460,27 +460,27 @@ popup/item_7/text = "Radio Item 2"
popup/item_7/checkable = 2
popup/item_7/id = 7
[node name="RadioButtons" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer"]
[node name="RadioButtons" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer" unique_id=1525383131]
layout_mode = 2
size_flags_horizontal = 0
[node name="CheckBox" type="CheckBox" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer/RadioButtons"]
[node name="CheckBox" type="CheckBox" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer/RadioButtons" unique_id=703522899]
layout_mode = 2
button_pressed = true
button_group = SubResource("ButtonGroup_t0nh8")
text = "CheckBox with ButtonGroup assigned 1"
[node name="CheckBox2" type="CheckBox" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer/RadioButtons"]
[node name="CheckBox2" type="CheckBox" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer/RadioButtons" unique_id=1521518677]
layout_mode = 2
button_group = SubResource("ButtonGroup_t0nh8")
text = "CheckBox with ButtonGroup assigned 2"
[node name="CheckBox3" type="CheckBox" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer/RadioButtons"]
[node name="CheckBox3" type="CheckBox" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer/RadioButtons" unique_id=2041257619]
layout_mode = 2
button_group = SubResource("ButtonGroup_t0nh8")
text = "CheckBox with ButtonGroup assigned 3"
[node name="ItemList" type="ItemList" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer"]
[node name="ItemList" type="ItemList" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer" unique_id=1661352594]
layout_mode = 2
size_flags_vertical = 3
select_mode = 1
@@ -494,42 +494,42 @@ item_2/disabled = true
item_3/text = "ItemList - Item 3 with icon assigned"
item_3/icon = ExtResource("1_8tycj")
[node name="VBoxContainer2" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer"]
[node name="VBoxContainer2" type="VBoxContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer" unique_id=1071481159]
layout_mode = 2
size_flags_horizontal = 3
[node name="Tree" type="Tree" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2"]
[node name="Tree" type="Tree" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2" unique_id=125709688]
layout_mode = 2
size_flags_vertical = 3
select_mode = 2
script = ExtResource("2_68sc3")
[node name="FoldableContainer" type="FoldableContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2"]
[node name="FoldableContainer" type="FoldableContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2" unique_id=1596310168]
layout_mode = 2
title = "FoldableContainer with FoldableGroup"
foldable_group = SubResource("FoldableGroup_wdd8d")
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer"]
[node name="MarginContainer" type="MarginContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer" unique_id=706497807]
layout_mode = 2
theme_override_constants/margin_left = 10
theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 5
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer/MarginContainer"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer/MarginContainer" unique_id=1464441158]
layout_mode = 2
theme_override_colors/font_color = Color(0.7529412, 0.7529412, 0.7529412, 1)
text = "FoldableGroup only allows one of the
FoldableContainers to be open at a time"
[node name="FoldableContainer2" type="FoldableContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2"]
[node name="FoldableContainer2" type="FoldableContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2" unique_id=1967159995]
layout_mode = 2
folded = true
title = "FoldableContainer with FoldableGroup"
title_position = 1
foldable_group = SubResource("FoldableGroup_wdd8d")
[node name="MarginContainer2" type="MarginContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer2"]
[node name="MarginContainer2" type="MarginContainer" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer2" unique_id=1738378453]
visible = false
layout_mode = 2
theme_override_constants/margin_left = 10
@@ -537,7 +537,7 @@ theme_override_constants/margin_top = 5
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 5
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer2/MarginContainer2"]
[node name="Label" type="Label" parent="MainPanel/HSplitContainer/VSplitContainer/Lists/VBoxContainer/HBoxContainer/VBoxContainer2/FoldableContainer2/MarginContainer2" unique_id=148091940]
layout_mode = 2
theme_override_colors/font_color = Color(0.7529412, 0.7529412, 0.7529412, 1)
text = "Second foldable container

View File

@@ -14,7 +14,7 @@ config/name="Control Gallery"
config/description="Showcases various Control nodes with their names affixed for easy recognition."
config/tags=PackedStringArray("demo", "gui", "official")
run/main_scene="res://control_gallery.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
run/low_processor_mode=true
config/icon="res://icon.webp"

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://cp0yrr35xhiue"]
[gd_scene format=3 uid="uid://cp0yrr35xhiue"]
[ext_resource type="Script" uid="uid://c5htx3sif4me8" path="res://drag_drop_script.gd" id="1"]
[node name="DragAndDrop" type="Control"]
[node name="DragAndDrop" type="Control" unique_id=893880310]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -13,7 +13,7 @@ pivot_offset = Vector2(512, 300)
size_flags_horizontal = 2
size_flags_vertical = 2
[node name="Information" type="Label" parent="."]
[node name="Information" type="Label" parent="." unique_id=1089314298]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
@@ -27,7 +27,7 @@ size_flags_horizontal = 2
size_flags_vertical = 0
text = "Drag colors from button to button, or change button colors and drag them again."
[node name="GridContainer" type="GridContainer" parent="."]
[node name="GridContainer" type="GridContainer" parent="." unique_id=496722304]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
@@ -39,7 +39,7 @@ offset_right = 250.0
offset_bottom = 200.0
columns = 3
[node name="ColorPickerButton0" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton0" type="ColorPickerButton" parent="GridContainer" unique_id=1439694557]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -47,7 +47,7 @@ size_flags_vertical = 6
color = Color(0.937255, 0.266667, 0.266667, 1)
script = ExtResource("1")
[node name="ColorPickerButton1" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton1" type="ColorPickerButton" parent="GridContainer" unique_id=1721718944]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -55,7 +55,7 @@ size_flags_vertical = 6
color = Color(0.960784, 0.619608, 0.0431373, 1)
script = ExtResource("1")
[node name="ColorPickerButton2" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton2" type="ColorPickerButton" parent="GridContainer" unique_id=54516633]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -63,7 +63,7 @@ size_flags_vertical = 6
color = Color(0.517647, 0.8, 0.0862745, 1)
script = ExtResource("1")
[node name="ColorPickerButton3" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton3" type="ColorPickerButton" parent="GridContainer" unique_id=1351782457]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -71,7 +71,7 @@ size_flags_vertical = 6
color = Color(0.0627451, 0.72549, 0.505882, 1)
script = ExtResource("1")
[node name="ColorPickerButton4" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton4" type="ColorPickerButton" parent="GridContainer" unique_id=93173809]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -79,7 +79,7 @@ size_flags_vertical = 6
color = Color(0.0235294, 0.713726, 0.831373, 1)
script = ExtResource("1")
[node name="ColorPickerButton5" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton5" type="ColorPickerButton" parent="GridContainer" unique_id=738656663]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -87,7 +87,7 @@ size_flags_vertical = 6
color = Color(0.231373, 0.509804, 0.964706, 1)
script = ExtResource("1")
[node name="ColorPickerButton6" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton6" type="ColorPickerButton" parent="GridContainer" unique_id=1196273660]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -95,7 +95,7 @@ size_flags_vertical = 6
color = Color(0.545098, 0.360784, 0.964706, 1)
script = ExtResource("1")
[node name="ColorPickerButton7" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton7" type="ColorPickerButton" parent="GridContainer" unique_id=2097320561]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6
@@ -103,7 +103,7 @@ size_flags_vertical = 6
color = Color(0.85098, 0.27451, 0.937255, 1)
script = ExtResource("1")
[node name="ColorPickerButton8" type="ColorPickerButton" parent="GridContainer"]
[node name="ColorPickerButton8" type="ColorPickerButton" parent="GridContainer" unique_id=339011534]
custom_minimum_size = Vector2(96, 64)
layout_mode = 2
size_flags_horizontal = 6

View File

@@ -17,7 +17,7 @@ config/description="A demo showcasing drag and drop functionality.
- Click on the buttons to manually adjust their color."
config/tags=PackedStringArray("demo", "gui", "official")
run/main_scene="res://drag_and_drop.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
run/low_processor_mode=true
config/icon="res://icon.webp"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=10 format=3 uid="uid://0q7gcx8h0wjg"]
[gd_scene format=3 uid="uid://0q7gcx8h0wjg"]
[ext_resource type="Script" uid="uid://cnklsegp6n0ik" path="res://paint_control.gd" id="1"]
[ext_resource type="Script" uid="uid://dum5j5wu6quna" path="res://tools_panel.gd" id="2"]
@@ -26,7 +26,7 @@ region = Rect2(0, 16, 16, 16)
atlas = ExtResource("3")
region = Rect2(16, 16, 16, 16)
[node name="PaintRoot" type="Control"]
[node name="PaintRoot" type="Control" unique_id=1932738941]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -34,7 +34,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="DrawingAreaBG" type="Panel" parent="."]
[node name="DrawingAreaBG" type="Panel" parent="." unique_id=542940751]
layout_mode = 0
anchor_left = 0.342
anchor_right = 1.0
@@ -45,7 +45,7 @@ theme_override_styles/panel = SubResource("StyleBoxFlat_4ksjc")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = true
[node name="PaintControl" type="Control" parent="."]
[node name="PaintControl" type="Control" parent="." unique_id=1599245761]
anchors_preset = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -55,7 +55,7 @@ script = ExtResource("1")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="ToolsPanel" type="Panel" parent="."]
[node name="ToolsPanel" type="Panel" parent="." unique_id=25925917]
layout_mode = 0
offset_right = 350.0
offset_bottom = 600.0
@@ -64,7 +64,7 @@ script = ExtResource("2")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = true
[node name="LabelTools" type="Label" parent="ToolsPanel"]
[node name="LabelTools" type="Label" parent="ToolsPanel" unique_id=1958033076]
layout_mode = 0
offset_left = 20.0
offset_top = 6.0
@@ -74,7 +74,7 @@ text = "Selected tool: Pencil"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="ButtonToolPencil" type="Button" parent="ToolsPanel"]
[node name="ButtonToolPencil" type="Button" parent="ToolsPanel" unique_id=629429498]
layout_mode = 0
offset_left = 40.0
offset_top = 30.0
@@ -83,7 +83,7 @@ offset_bottom = 85.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/ButtonToolPencil"]
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/ButtonToolPencil" unique_id=49679444]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -97,7 +97,7 @@ texture = SubResource("AtlasTexture_v0gbg")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="ButtonToolEraser" type="Button" parent="ToolsPanel"]
[node name="ButtonToolEraser" type="Button" parent="ToolsPanel" unique_id=312548275]
layout_mode = 0
offset_left = 110.0
offset_top = 30.0
@@ -106,7 +106,7 @@ offset_bottom = 85.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="TextureRect2" type="TextureRect" parent="ToolsPanel/ButtonToolEraser"]
[node name="TextureRect2" type="TextureRect" parent="ToolsPanel/ButtonToolEraser" unique_id=955719162]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -120,7 +120,7 @@ texture = SubResource("AtlasTexture_j7akv")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="ButtonToolRectangle" type="Button" parent="ToolsPanel"]
[node name="ButtonToolRectangle" type="Button" parent="ToolsPanel" unique_id=2025153232]
layout_mode = 0
offset_left = 180.0
offset_top = 30.0
@@ -129,7 +129,7 @@ offset_bottom = 85.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/ButtonToolRectangle"]
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/ButtonToolRectangle" unique_id=1559391430]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -143,7 +143,7 @@ texture = SubResource("AtlasTexture_63q87")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="ButtonToolCircle" type="Button" parent="ToolsPanel"]
[node name="ButtonToolCircle" type="Button" parent="ToolsPanel" unique_id=1710375668]
layout_mode = 0
offset_left = 250.0
offset_top = 30.0
@@ -152,7 +152,7 @@ offset_bottom = 85.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/ButtonToolCircle"]
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/ButtonToolCircle" unique_id=1324756187]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -166,7 +166,7 @@ texture = SubResource("AtlasTexture_t52fe")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="LabelBrushColor" type="Label" parent="ToolsPanel"]
[node name="LabelBrushColor" type="Label" parent="ToolsPanel" unique_id=695687506]
layout_mode = 0
offset_left = 20.0
offset_top = 91.0
@@ -176,7 +176,7 @@ text = "Current color"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="ColorPickerBrush" type="ColorPickerButton" parent="ToolsPanel"]
[node name="ColorPickerBrush" type="ColorPickerButton" parent="ToolsPanel" unique_id=1301038621]
layout_mode = 0
offset_left = 20.0
offset_top = 115.0
@@ -185,13 +185,13 @@ offset_bottom = 155.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="BrushSettings" type="Control" parent="ToolsPanel"]
[node name="BrushSettings" type="Control" parent="ToolsPanel" unique_id=1086556840]
anchors_preset = 0
offset_top = 200.0
offset_right = 350.0
offset_bottom = 375.0
[node name="LabelBrushSize" type="Label" parent="ToolsPanel/BrushSettings"]
[node name="LabelBrushSize" type="Label" parent="ToolsPanel/BrushSettings" unique_id=1867921880]
layout_mode = 0
offset_left = 20.0
offset_top = -37.0
@@ -201,7 +201,7 @@ text = "Brush size: 32px"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="HScrollBarBrushSize" type="HScrollBar" parent="ToolsPanel/BrushSettings"]
[node name="HScrollBarBrushSize" type="HScrollBar" parent="ToolsPanel/BrushSettings" unique_id=1818180377]
layout_mode = 0
offset_left = 20.0
offset_top = -8.0
@@ -213,7 +213,7 @@ value = 32.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="LabelBrushShape" type="Label" parent="ToolsPanel/BrushSettings"]
[node name="LabelBrushShape" type="Label" parent="ToolsPanel/BrushSettings" unique_id=196614440]
layout_mode = 0
offset_left = 20.0
offset_top = 29.0
@@ -223,7 +223,7 @@ text = "Brush shape: Circle"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="ButtonShapeBox" type="Button" parent="ToolsPanel/BrushSettings"]
[node name="ButtonShapeBox" type="Button" parent="ToolsPanel/BrushSettings" unique_id=2106991057]
layout_mode = 0
offset_left = 100.0
offset_top = 59.0
@@ -232,7 +232,7 @@ offset_bottom = 114.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/BrushSettings/ButtonShapeBox"]
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/BrushSettings/ButtonShapeBox" unique_id=2026128724]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -246,7 +246,7 @@ texture = SubResource("AtlasTexture_63q87")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="ButtonShapeCircle" type="Button" parent="ToolsPanel/BrushSettings"]
[node name="ButtonShapeCircle" type="Button" parent="ToolsPanel/BrushSettings" unique_id=927387723]
layout_mode = 0
offset_left = 190.0
offset_top = 59.0
@@ -255,7 +255,7 @@ offset_bottom = 114.0
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/BrushSettings/ButtonShapeCircle"]
[node name="TextureRect" type="TextureRect" parent="ToolsPanel/BrushSettings/ButtonShapeCircle" unique_id=1730301056]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -269,7 +269,7 @@ texture = SubResource("AtlasTexture_t52fe")
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="LabelBackgroundColor" type="Label" parent="ToolsPanel"]
[node name="LabelBackgroundColor" type="Label" parent="ToolsPanel" unique_id=315489857]
layout_mode = 0
offset_left = 20.0
offset_top = 323.0
@@ -279,7 +279,7 @@ text = "Background color"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="ColorPickerBackground" type="ColorPickerButton" parent="ToolsPanel"]
[node name="ColorPickerBackground" type="ColorPickerButton" parent="ToolsPanel" unique_id=165000675]
layout_mode = 0
offset_left = 20.0
offset_top = 351.0
@@ -290,7 +290,7 @@ edit_alpha = false
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="LabelStats" type="Label" parent="ToolsPanel"]
[node name="LabelStats" type="Label" parent="ToolsPanel" unique_id=2037670693]
modulate = Color(0.414062, 0.414062, 0.414062, 1)
layout_mode = 0
offset_left = 20.0
@@ -301,7 +301,7 @@ text = "Brush objects: 00000"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="ButtonUndo" type="Button" parent="ToolsPanel"]
[node name="ButtonUndo" type="Button" parent="ToolsPanel" unique_id=382148486]
layout_mode = 0
offset_left = 10.0
offset_top = 415.0
@@ -311,7 +311,7 @@ text = "Undo last stroke"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="ButtonSave" type="Button" parent="ToolsPanel"]
[node name="ButtonSave" type="Button" parent="ToolsPanel" unique_id=1228907065]
layout_mode = 0
offset_left = 10.0
offset_top = 506.0
@@ -321,7 +321,7 @@ text = "Save picture"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="ButtonClear" type="Button" parent="ToolsPanel"]
[node name="ButtonClear" type="Button" parent="ToolsPanel" unique_id=24920518]
layout_mode = 0
offset_left = 10.0
offset_top = 550.0
@@ -331,7 +331,7 @@ text = "Clear picture"
metadata/_edit_layout_mode = 0
metadata/_edit_use_custom_anchors = false
[node name="SaveFileDialog" type="FileDialog" parent="."]
[node name="SaveFileDialog" type="FileDialog" parent="." unique_id=1128001449]
size = Vector2i(800, 300)
min_size = Vector2i(800, 300)
access = 2

View File

@@ -16,7 +16,7 @@ It supports different types of 'brushes': a basic pen/pencil
and eraser, as well as a rectangle and a circle brush."
config/tags=PackedStringArray("demo", "gui", "official")
run/main_scene="res://paint_root.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[debug]

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://cctu6l46yqxu3"]
[gd_scene format=3 uid="uid://cctu6l46yqxu3"]
[ext_resource type="Script" uid="uid://duj40c7016ubf" path="res://ActionRemapButton.gd" id="1"]
[node name="ActionRemapButton" type="Button"]
[node name="ActionRemapButton" type="Button" unique_id=2026394768]
offset_right = 90.0
offset_bottom = 30.0
toggle_mode = true

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://bq7rk1normitt"]
[gd_scene format=3 uid="uid://bq7rk1normitt"]
[ext_resource type="PackedScene" uid="uid://cctu6l46yqxu3" path="res://ActionRemapButton.tscn" id="1"]
[node name="InputRemapMenu" type="Control"]
[node name="InputRemapMenu" type="Control" unique_id=869922735]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -10,7 +10,7 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Instructions" type="Label" parent="."]
[node name="Instructions" type="Label" parent="." unique_id=695342023]
layout_mode = 0
anchor_right = 1.0
offset_top = 24.0
@@ -19,7 +19,7 @@ text = "Click on a button to reassign its action key."
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButtonGroup" type="Control" parent="."]
[node name="RemapButtonGroup" type="Control" parent="." unique_id=323200217]
anchors_preset = 0
anchor_left = 0.5
anchor_top = 0.5
@@ -30,7 +30,7 @@ offset_top = -144.0
offset_right = 160.0
offset_bottom = 144.0
[node name="ActionsList" type="VBoxContainer" parent="RemapButtonGroup"]
[node name="ActionsList" type="VBoxContainer" parent="RemapButtonGroup" unique_id=981693328]
layout_mode = 0
anchor_left = 0.5
anchor_top = 0.5
@@ -41,12 +41,12 @@ offset_top = -140.0
offset_right = 160.0
offset_bottom = 140.0
[node name="ActionRemapRow" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
[node name="ActionRemapRow" type="HBoxContainer" parent="RemapButtonGroup/ActionsList" unique_id=327987504]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow"]
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow" unique_id=1780554302]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -54,18 +54,18 @@ text = "Move Left"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow" instance=ExtResource("1")]
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow" unique_id=281873284 instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "move_left"
[node name="ActionRemapRow2" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
[node name="ActionRemapRow2" type="HBoxContainer" parent="RemapButtonGroup/ActionsList" unique_id=786088826]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow2"]
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow2" unique_id=100367035]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -73,18 +73,18 @@ text = "Move Right"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow2" instance=ExtResource("1")]
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow2" unique_id=289433612 instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "move_right"
[node name="ActionRemapRow3" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
[node name="ActionRemapRow3" type="HBoxContainer" parent="RemapButtonGroup/ActionsList" unique_id=1262343367]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow3"]
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow3" unique_id=1974194588]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -92,18 +92,18 @@ text = "Look Up"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow3" instance=ExtResource("1")]
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow3" unique_id=1433942952 instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "look_up"
[node name="ActionRemapRow4" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
[node name="ActionRemapRow4" type="HBoxContainer" parent="RemapButtonGroup/ActionsList" unique_id=712858000]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow4"]
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow4" unique_id=1153840772]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -111,18 +111,18 @@ text = "Crouch"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow4" instance=ExtResource("1")]
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow4" unique_id=1721249862 instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
action = "crouch"
[node name="ActionRemapRow5" type="HBoxContainer" parent="RemapButtonGroup/ActionsList"]
[node name="ActionRemapRow5" type="HBoxContainer" parent="RemapButtonGroup/ActionsList" unique_id=1584573617]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow5"]
[node name="ActionName" type="Label" parent="RemapButtonGroup/ActionsList/ActionRemapRow5" unique_id=811423102]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
@@ -130,7 +130,7 @@ text = "Dash"
horizontal_alignment = 1
vertical_alignment = 1
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow5" instance=ExtResource("1")]
[node name="RemapButton" parent="RemapButtonGroup/ActionsList/ActionRemapRow5" unique_id=1722684002 instance=ExtResource("1")]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3

View File

@@ -18,7 +18,7 @@ config/description="A demo showing how to build an input key remapping screen.
after the project is restarted."
config/tags=PackedStringArray("demo", "gui", "input", "official", "settings")
run/main_scene="res://InputRemapMenu.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[autoload]

View File

@@ -19,7 +19,7 @@ for higher precision when rendering the font. This allows MSDF fonts to be more
at small font sizes compared to single-channel signed distance field fonts."
config/tags=PackedStringArray("2d", "demo", "gui", "official", "rendering")
run/main_scene="res://sdf_font_demo.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[debug]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://dbknjwlpbdyit"]
[gd_scene format=3 uid="uid://dbknjwlpbdyit"]
[ext_resource type="Script" uid="uid://drffb8ty178f0" path="res://sdf_font_demo.gd" id="1_05k3u"]
[ext_resource type="FontFile" uid="uid://b4ngef7pot3yp" path="res://montserrat_semibold_msdf.ttf" id="1_eart1"]
@@ -46,7 +46,7 @@ _data = {
&"zoomin_zoomout": SubResource("2")
}
[node name="SDFFontDemo" type="Control"]
[node name="SDFFontDemo" type="Control" unique_id=1241967680]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -55,12 +55,12 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_05k3u")
[node name="Panel" type="Panel" parent="."]
[node name="Panel" type="Panel" parent="." unique_id=183250173]
layout_mode = 0
offset_right = 285.0
offset_bottom = 107.0
[node name="FontMode" type="Label" parent="."]
[node name="FontMode" type="Label" parent="." unique_id=615776437]
unique_name_in_owner = true
layout_mode = 1
offset_left = 16.0
@@ -69,7 +69,7 @@ offset_right = 218.0
offset_bottom = 68.0
text = "Font rendering: MSDF"
[node name="OutlineSize" type="HBoxContainer" parent="."]
[node name="OutlineSize" type="HBoxContainer" parent="." unique_id=332352676]
layout_mode = 0
offset_left = 16.0
offset_top = 56.0
@@ -77,25 +77,25 @@ offset_right = 286.0
offset_bottom = 96.0
theme_override_constants/separation = 8
[node name="Label" type="Label" parent="OutlineSize"]
[node name="Label" type="Label" parent="OutlineSize" unique_id=113250470]
layout_mode = 2
text = "Outline size:"
[node name="HSlider" type="HSlider" parent="OutlineSize"]
[node name="HSlider" type="HSlider" parent="OutlineSize" unique_id=1006800733]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
max_value = 20.0
value = 5.0
[node name="Value" type="Label" parent="OutlineSize"]
[node name="Value" type="Label" parent="OutlineSize" unique_id=1663755520]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 0.23
text = "5"
[node name="Help" type="Label" parent="."]
[node name="Help" type="Label" parent="." unique_id=377570889]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
@@ -109,29 +109,25 @@ theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
theme_override_constants/outline_size = 4
text = "S: Toggle between traditional and MSDF font rendering"
[node name="CenterContainer" type="CenterContainer" parent="."]
[node name="CenterContainer" type="CenterContainer" parent="." unique_id=2033118326]
layout_mode = 0
offset_left = 576.0
offset_top = 324.0
offset_right = 576.0
offset_bottom = 324.0
[node name="Base" type="Control" parent="CenterContainer"]
[node name="Base" type="Control" parent="CenterContainer" unique_id=1317448160]
layout_mode = 2
[node name="Rotate" type="AnimationPlayer" parent="CenterContainer/Base"]
libraries = {
&"": SubResource("AnimationLibrary_88vp7")
}
autoplay = "rotate"
[node name="Rotate" type="AnimationPlayer" parent="CenterContainer/Base" unique_id=468350656]
libraries/ = SubResource("AnimationLibrary_88vp7")
autoplay = &"rotate"
[node name="Zoom" type="AnimationPlayer" parent="CenterContainer/Base"]
libraries = {
&"": SubResource("AnimationLibrary_j5dlp")
}
autoplay = "zoomin_zoomout"
[node name="Zoom" type="AnimationPlayer" parent="CenterContainer/Base" unique_id=2126642397]
libraries/ = SubResource("AnimationLibrary_j5dlp")
autoplay = &"zoomin_zoomout"
[node name="FontLabel" type="Label" parent="CenterContainer/Base"]
[node name="FontLabel" type="Label" parent="CenterContainer/Base" unique_id=537922364]
unique_name_in_owner = true
z_index = -1
layout_mode = 0

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://de1f6lgrd2fqo"]
[gd_scene format=3 uid="uid://de1f6lgrd2fqo"]
[ext_resource type="Script" uid="uid://dsgcdlsxwu7om" path="res://main.gd" id="1"]
[ext_resource type="Texture2D" uid="uid://bdaenydig34xj" path="res://pixel_art_example.webp" id="2_mfq7n"]
@@ -21,7 +21,7 @@ border_width_right = 8
border_width_bottom = 8
border_color = Color(0.25, 0.38, 0.8, 0.5)
[node name="Main" type="Control"]
[node name="Main" type="Control" unique_id=896862888]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -30,7 +30,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1")
[node name="OuterSideLabel" type="Label" parent="."]
[node name="OuterSideLabel" type="Label" parent="." unique_id=1850119497]
modulate = Color(1, 1, 1, 0.627451)
layout_mode = 0
offset_left = 8.0
@@ -42,7 +42,7 @@ text = "Outer Side Label
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="Panel" type="Panel" parent="."]
[node name="Panel" type="Panel" parent="." unique_id=820170950]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -51,7 +51,7 @@ grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_vvbdh")
[node name="InnerSideLabel" type="Label" parent="Panel"]
[node name="InnerSideLabel" type="Label" parent="Panel" unique_id=1327676893]
modulate = Color(0.666667, 1, 0.501961, 1)
layout_mode = 1
anchors_preset = 2
@@ -67,7 +67,7 @@ text = "Inner Side Label
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="Panel"]
[node name="AspectRatioContainer" type="AspectRatioContainer" parent="Panel" unique_id=746500360]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -75,15 +75,15 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Panel" type="Panel" parent="Panel/AspectRatioContainer"]
[node name="Panel" type="Panel" parent="Panel/AspectRatioContainer" unique_id=1645739585]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_dyby4")
[node name="TopLeft" type="ColorRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="TopLeft" type="ColorRect" parent="Panel/AspectRatioContainer/Panel" unique_id=231351963]
layout_mode = 0
color = Color(1, 1, 1, 0.25098)
[node name="TopRight" type="ColorRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="TopRight" type="ColorRect" parent="Panel/AspectRatioContainer/Panel" unique_id=290639701]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
@@ -91,7 +91,7 @@ anchor_right = 1.0
grow_horizontal = 0
color = Color(1, 1, 1, 0.25098)
[node name="BottomLeft" type="ColorRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="BottomLeft" type="ColorRect" parent="Panel/AspectRatioContainer/Panel" unique_id=468271257]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
@@ -99,7 +99,7 @@ anchor_bottom = 1.0
grow_vertical = 0
color = Color(1, 1, 1, 0.25098)
[node name="BottomRight" type="ColorRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="BottomRight" type="ColorRect" parent="Panel/AspectRatioContainer/Panel" unique_id=389442364]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
@@ -110,7 +110,7 @@ grow_horizontal = 0
grow_vertical = 0
color = Color(1, 1, 1, 0.25098)
[node name="PixelArtExample" type="TextureRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="PixelArtExample" type="TextureRect" parent="Panel/AspectRatioContainer/Panel" unique_id=758541669]
texture_filter = 1
layout_mode = 1
anchors_preset = 1
@@ -123,7 +123,7 @@ offset_bottom = 48.0
grow_horizontal = 0
texture = ExtResource("2_mfq7n")
[node name="PixelArtExample2" type="TextureRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="PixelArtExample2" type="TextureRect" parent="Panel/AspectRatioContainer/Panel" unique_id=82569827]
texture_filter = 1
layout_mode = 1
anchors_preset = 1
@@ -138,7 +138,7 @@ rotation = 0.785398
pivot_offset = Vector2(16, 16)
texture = ExtResource("2_mfq7n")
[node name="PixelArtCheckerboardExample" type="TextureRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="PixelArtCheckerboardExample" type="TextureRect" parent="Panel/AspectRatioContainer/Panel" unique_id=1461257278]
modulate = Color(1, 1, 1, 0.752941)
texture_filter = 1
layout_mode = 1
@@ -152,7 +152,7 @@ offset_bottom = 48.0
grow_horizontal = 0
texture = ExtResource("3_unurd")
[node name="PixelArtTextExample" type="TextureRect" parent="Panel/AspectRatioContainer/Panel"]
[node name="PixelArtTextExample" type="TextureRect" parent="Panel/AspectRatioContainer/Panel" unique_id=29565383]
texture_filter = 1
layout_mode = 1
anchors_preset = 1
@@ -165,7 +165,7 @@ offset_bottom = 75.0
grow_horizontal = 0
texture = ExtResource("3_0qxym")
[node name="CenterContainer" type="CenterContainer" parent="Panel/AspectRatioContainer/Panel"]
[node name="CenterContainer" type="CenterContainer" parent="Panel/AspectRatioContainer/Panel" unique_id=71515006]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
@@ -173,26 +173,26 @@ anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Options" type="VBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer"]
[node name="Options" type="VBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer" unique_id=1901671748]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Title" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="Title" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=74755737]
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.87, 0.62, 1)
theme_override_font_sizes/font_size = 24
text = "Options"
horizontal_alignment = 1
[node name="WindowBaseSize" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="WindowBaseSize" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=1549181124]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowBaseSize"]
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowBaseSize" unique_id=1350285660]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
text = "Window Base Size"
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowBaseSize"]
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowBaseSize" unique_id=393033036]
layout_mode = 2
size_flags_horizontal = 3
selected = 0
@@ -214,15 +214,15 @@ popup/item_6/id = 6
popup/item_7/text = "1680×720 (21:9)"
popup/item_7/id = 7
[node name="WindowStretchMode" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="WindowStretchMode" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=1725612605]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchMode"]
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchMode" unique_id=1651484596]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
text = "Window Stretch Mode"
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchMode"]
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchMode" unique_id=17311102]
layout_mode = 2
size_flags_horizontal = 3
selected = 1
@@ -234,15 +234,15 @@ popup/item_1/id = 1
popup/item_2/text = "Viewport"
popup/item_2/id = 2
[node name="WindowStretchAspect" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="WindowStretchAspect" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=1661503547]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchAspect"]
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchAspect" unique_id=1753576851]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
text = "Window Stretch Aspect"
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchAspect"]
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchAspect" unique_id=1550325647]
layout_mode = 2
size_flags_horizontal = 3
selected = 4
@@ -258,15 +258,15 @@ popup/item_3/id = 3
popup/item_4/text = "Expand"
popup/item_4/id = 4
[node name="WindowScaleFactor" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="WindowScaleFactor" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=1680324954]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowScaleFactor"]
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowScaleFactor" unique_id=1733248396]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
text = "Window Scale Factor"
[node name="HSlider" type="HSlider" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowScaleFactor"]
[node name="HSlider" type="HSlider" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowScaleFactor" unique_id=1202267460]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 100.0
@@ -275,20 +275,20 @@ max_value = 2.0
step = 0.01
value = 1.0
[node name="Value" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowScaleFactor"]
[node name="Value" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowScaleFactor" unique_id=1129325637]
layout_mode = 2
size_flags_horizontal = 3
text = "100%"
[node name="WindowStretchScaleMode" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="WindowStretchScaleMode" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=752314792]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchScaleMode"]
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchScaleMode" unique_id=1526735878]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
text = "Window Stretch Scale Mode"
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchScaleMode"]
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/WindowStretchScaleMode" unique_id=1488830726]
layout_mode = 2
size_flags_horizontal = 3
selected = 0
@@ -298,18 +298,18 @@ popup/item_0/id = 0
popup/item_1/text = "Integer"
popup/item_1/id = 1
[node name="HSeparator" type="HSeparator" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="HSeparator" type="HSeparator" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=978119813]
layout_mode = 2
[node name="GUIMaxAspectRatio" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="GUIMaxAspectRatio" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=515341636]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMaxAspectRatio"]
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMaxAspectRatio" unique_id=1328593834]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
text = "GUI Max Aspect Ratio"
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMaxAspectRatio"]
[node name="OptionButton" type="OptionButton" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMaxAspectRatio" unique_id=1076445630]
layout_mode = 2
size_flags_horizontal = 3
selected = 0
@@ -329,21 +329,21 @@ popup/item_5/id = 5
popup/item_6/text = "21:9"
popup/item_6/id = 6
[node name="GUIMargin" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options"]
[node name="GUIMargin" type="HBoxContainer" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options" unique_id=1518521353]
layout_mode = 2
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMargin"]
[node name="Label" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMargin" unique_id=393340883]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
text = "GUI Margin"
[node name="HSlider" type="HSlider" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMargin"]
[node name="HSlider" type="HSlider" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMargin" unique_id=1078117311]
layout_mode = 2
size_flags_horizontal = 3
size_flags_stretch_ratio = 100.0
max_value = 50.0
[node name="Value" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMargin"]
[node name="Value" type="Label" parent="Panel/AspectRatioContainer/Panel/CenterContainer/Options/GUIMargin" unique_id=1900044850]
layout_mode = 2
size_flags_horizontal = 3
text = "0"

View File

@@ -29,7 +29,7 @@ This can also improve the gameplay experience on large monitors
by bringing HUD elements closer to the center of the screen."
config/tags=PackedStringArray("accessibility", "best_practices", "demo", "gui", "official")
run/main_scene="res://main.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
run/low_processor_mode=true
config/icon="res://icon.webp"

View File

@@ -1,9 +1,9 @@
[gd_scene load_steps=3 format=3 uid="uid://16ayaffsvo0n"]
[gd_scene format=3 uid="uid://16ayaffsvo0n"]
[ext_resource type="Texture2D" uid="uid://c42voynifgwxl" path="res://icon.webp" id="1"]
[ext_resource type="Script" uid="uid://ce4xelhn8lkkb" path="res://Pseudolocalization.gd" id="2"]
[node name="Pseudolocalization" type="Control"]
[node name="Pseudolocalization" type="Control" unique_id=172981023]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -12,7 +12,7 @@ grow_horizontal = 2
grow_vertical = 2
script = ExtResource("2")
[node name="Title" type="HBoxContainer" parent="."]
[node name="Title" type="HBoxContainer" parent="." unique_id=902205905]
layout_mode = 0
anchor_right = 1.0
offset_left = 20.0
@@ -23,21 +23,21 @@ grow_horizontal = 2
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="TextureRect" type="TextureRect" parent="Title"]
[node name="TextureRect" type="TextureRect" parent="Title" unique_id=1758164590]
custom_minimum_size = Vector2(128, 64)
layout_mode = 2
texture = ExtResource("1")
expand_mode = 1
stretch_mode = 4
[node name="Label" type="Label" parent="Title"]
[node name="Label" type="Label" parent="Title" unique_id=444220519]
layout_mode = 2
size_flags_horizontal = 3
theme_override_font_sizes/font_size = 30
text = "Pseudolocalization Demo"
vertical_alignment = 1
[node name="Main" type="HBoxContainer" parent="."]
[node name="Main" type="HBoxContainer" parent="." unique_id=1617631583]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
@@ -51,67 +51,67 @@ theme_override_constants/separation = 20
metadata/_edit_layout_mode = 1
metadata/_edit_use_custom_anchors = false
[node name="Pseudolocalization_options" type="VBoxContainer" parent="Main"]
[node name="Pseudolocalization_options" type="VBoxContainer" parent="Main" unique_id=1981236560]
layout_direction = 2
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="toggle" type="CheckButton" parent="Main/Pseudolocalization_options"]
[node name="toggle" type="CheckButton" parent="Main/Pseudolocalization_options" unique_id=615283402]
layout_mode = 2
size_flags_horizontal = 3
text = "Toggle Pseudolocalization"
[node name="accents" type="CheckButton" parent="Main/Pseudolocalization_options"]
[node name="accents" type="CheckButton" parent="Main/Pseudolocalization_options" unique_id=1402309452]
layout_mode = 2
size_flags_horizontal = 3
text = "Toggle Accents"
[node name="doublevowels" type="CheckButton" parent="Main/Pseudolocalization_options"]
[node name="doublevowels" type="CheckButton" parent="Main/Pseudolocalization_options" unique_id=183594221]
layout_mode = 2
size_flags_horizontal = 3
text = "Toggle Double Vowels"
[node name="fakebidi" type="CheckButton" parent="Main/Pseudolocalization_options"]
[node name="fakebidi" type="CheckButton" parent="Main/Pseudolocalization_options" unique_id=1859409043]
layout_mode = 2
size_flags_horizontal = 3
text = "Toggle Fake Bidi"
[node name="override" type="CheckButton" parent="Main/Pseudolocalization_options"]
[node name="override" type="CheckButton" parent="Main/Pseudolocalization_options" unique_id=99612225]
layout_mode = 2
size_flags_horizontal = 3
text = "Toggle Override"
[node name="skipplaceholders" type="CheckButton" parent="Main/Pseudolocalization_options"]
[node name="skipplaceholders" type="CheckButton" parent="Main/Pseudolocalization_options" unique_id=219398496]
layout_mode = 2
size_flags_horizontal = 3
text = "Skip Placeholders"
[node name="exp_ratio" type="HBoxContainer" parent="Main/Pseudolocalization_options"]
[node name="exp_ratio" type="HBoxContainer" parent="Main/Pseudolocalization_options" unique_id=1296715920]
layout_mode = 2
size_flags_vertical = 0
[node name="MarginContainer" type="MarginContainer" parent="Main/Pseudolocalization_options/exp_ratio"]
[node name="MarginContainer" type="MarginContainer" parent="Main/Pseudolocalization_options/exp_ratio" unique_id=1970147387]
layout_mode = 2
[node name="Label" type="Label" parent="Main/Pseudolocalization_options/exp_ratio"]
[node name="Label" type="Label" parent="Main/Pseudolocalization_options/exp_ratio" unique_id=2071791453]
layout_mode = 2
size_flags_horizontal = 2
size_flags_vertical = 1
size_flags_stretch_ratio = 4.0
text = "Expansion Ratio : "
[node name="SpinBox" type="SpinBox" parent="Main/Pseudolocalization_options/exp_ratio"]
[node name="SpinBox" type="SpinBox" parent="Main/Pseudolocalization_options/exp_ratio" unique_id=1446869336]
layout_mode = 2
size_flags_horizontal = 3
max_value = 1.0
step = 0.05
[node name="prefix" type="Control" parent="Main/Pseudolocalization_options"]
[node name="prefix" type="Control" parent="Main/Pseudolocalization_options" unique_id=936879673]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextEdit" type="LineEdit" parent="Main/Pseudolocalization_options/prefix"]
[node name="TextEdit" type="LineEdit" parent="Main/Pseudolocalization_options/prefix" unique_id=870121136]
layout_mode = 0
offset_left = 5.0
offset_top = 32.8613
@@ -120,7 +120,7 @@ offset_bottom = 62.8613
size_flags_horizontal = 3
caret_blink = true
[node name="Label" type="Label" parent="Main/Pseudolocalization_options/prefix"]
[node name="Label" type="Label" parent="Main/Pseudolocalization_options/prefix" unique_id=1628028237]
layout_mode = 0
offset_left = 6.0
offset_top = 2.86133
@@ -128,11 +128,11 @@ offset_right = 297.0
offset_bottom = 28.8613
text = "Pseudolocalization Prefix :"
[node name="suffix" type="Control" parent="Main/Pseudolocalization_options"]
[node name="suffix" type="Control" parent="Main/Pseudolocalization_options" unique_id=1264480473]
layout_mode = 2
size_flags_horizontal = 3
[node name="TextEdit" type="LineEdit" parent="Main/Pseudolocalization_options/suffix"]
[node name="TextEdit" type="LineEdit" parent="Main/Pseudolocalization_options/suffix" unique_id=1391421180]
layout_mode = 0
offset_left = 3.811
offset_top = 106.592
@@ -141,7 +141,7 @@ offset_bottom = 136.592
size_flags_horizontal = 3
caret_blink = true
[node name="Label" type="Label" parent="Main/Pseudolocalization_options/suffix"]
[node name="Label" type="Label" parent="Main/Pseudolocalization_options/suffix" unique_id=1253041179]
layout_mode = 0
offset_left = 6.0
offset_top = 76.5923
@@ -149,54 +149,54 @@ offset_right = 297.0
offset_bottom = 102.592
text = "Pseudolocalization Suffix :"
[node name="Pseudolocalizer" type="VBoxContainer" parent="Main"]
[node name="Pseudolocalizer" type="VBoxContainer" parent="Main" unique_id=1832251068]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="Label" type="Label" parent="Main/Pseudolocalizer"]
[node name="Label" type="Label" parent="Main/Pseudolocalizer" unique_id=145799385]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 5
text = "Pseudolocalization key :"
[node name="Key" type="TextEdit" parent="Main/Pseudolocalizer"]
[node name="Key" type="TextEdit" parent="Main/Pseudolocalizer" unique_id=697595095]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
text = "The quick brown fox jumped over the lazy dog."
[node name="margin" type="MarginContainer" parent="Main/Pseudolocalizer"]
[node name="margin" type="MarginContainer" parent="Main/Pseudolocalizer" unique_id=452342724]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="Pseudolocalize" type="Button" parent="Main/Pseudolocalizer"]
[node name="Pseudolocalize" type="Button" parent="Main/Pseudolocalizer" unique_id=1154552418]
layout_mode = 2
size_flags_horizontal = 6
text = "Pseudolocalize"
[node name="margin2" type="MarginContainer" parent="Main/Pseudolocalizer"]
[node name="margin2" type="MarginContainer" parent="Main/Pseudolocalizer" unique_id=672083482]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 0
[node name="Label2" type="Label" parent="Main/Pseudolocalizer"]
[node name="Label2" type="Label" parent="Main/Pseudolocalizer" unique_id=757585727]
layout_mode = 2
text = "Pseudolocalization result :"
[node name="Result" type="TextEdit" parent="Main/Pseudolocalizer"]
[node name="Result" type="TextEdit" parent="Main/Pseudolocalizer" unique_id=457962802]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 3
[node name="A2Z" type="Label" parent="Main/Pseudolocalizer"]
[node name="A2Z" type="Label" parent="Main/Pseudolocalizer" unique_id=934503198]
layout_mode = 2
size_flags_vertical = 7
text = "ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz"
[node name="MarginContainer" type="MarginContainer" parent="Main"]
[node name="MarginContainer" type="MarginContainer" parent="Main" unique_id=1778912329]
layout_mode = 2
[connection signal="toggled" from="Main/Pseudolocalization_options/toggle" to="." method="_on_toggle_toggled"]

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="Pseudolocalization"
config/tags=PackedStringArray("demo", "internationalization", "official")
run/main_scene="res://Pseudolocalization.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[debug]

View File

@@ -15,7 +15,7 @@ config/description="A demo showing regex functionality and usage.
Can also serve as a playground for regex testing."
config/tags=PackedStringArray("demo", "gui", "official")
run/main_scene="res://regex.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[debug]

View File

@@ -1,8 +1,8 @@
[gd_scene load_steps=2 format=3 uid="uid://jjmiwbm4ewem"]
[gd_scene format=3 uid="uid://jjmiwbm4ewem"]
[ext_resource type="Script" uid="uid://d20xicfqb2eps" path="res://regex.gd" id="1"]
[node name="Regex" type="VBoxContainer"]
[node name="Regex" type="VBoxContainer" unique_id=405902803]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
@@ -15,7 +15,7 @@ grow_vertical = 2
theme_override_constants/separation = 10
script = ExtResource("1")
[node name="Help" type="RichTextLabel" parent="."]
[node name="Help" type="RichTextLabel" parent="." unique_id=1281347628]
modulate = Color(1, 1, 1, 0.752941)
custom_minimum_size = Vector2(0, 50)
layout_mode = 2
@@ -23,11 +23,11 @@ bbcode_enabled = true
text = "Regular expressions (RegEx) can be used for advanced text matching.
You can use [url=https://regexr.com]RegExr[/url] to test regular expressions online and compare results."
[node name="HBoxContainer" type="HBoxContainer" parent="."]
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=26305334]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Label" type="Label" parent="HBoxContainer"]
[node name="Label" type="Label" parent="HBoxContainer" unique_id=367431473]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 5
@@ -35,18 +35,18 @@ size_flags_stretch_ratio = 0.08
text = "RegEx"
horizontal_alignment = 2
[node name="Expression" type="LineEdit" parent="HBoxContainer"]
[node name="Expression" type="LineEdit" parent="HBoxContainer" unique_id=1935367310]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
text = "\"((?:\\\\.|[^\"])*)\""
placeholder_text = "Regular expression to match against"
[node name="HBoxContainer2" type="HBoxContainer" parent="."]
[node name="HBoxContainer2" type="HBoxContainer" parent="." unique_id=427759340]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Label" type="Label" parent="HBoxContainer2"]
[node name="Label" type="Label" parent="HBoxContainer2" unique_id=125347402]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 5
@@ -54,18 +54,18 @@ size_flags_stretch_ratio = 0.08
text = "Text"
horizontal_alignment = 2
[node name="Text" type="TextEdit" parent="HBoxContainer2"]
[node name="Text" type="TextEdit" parent="HBoxContainer2" unique_id=1128022180]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 200)
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "Text to search in"
[node name="ScrollContainer" type="ScrollContainer" parent="."]
[node name="ScrollContainer" type="ScrollContainer" parent="." unique_id=155857998]
layout_mode = 2
size_flags_vertical = 3
[node name="List" type="VBoxContainer" parent="ScrollContainer"]
[node name="List" type="VBoxContainer" parent="ScrollContainer" unique_id=1234303584]
unique_name_in_owner = true
layout_mode = 2

View File

@@ -14,7 +14,7 @@ config/name="Rich Text Label with BBCode"
config/description="A demo showcasing the support for rich text and BBCode via RichTextLabel."
config/tags=PackedStringArray("demo", "gui", "official")
run/main_scene="res://rich_text_bbcode.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
run/low_processor_mode=true
config/icon="res://icon.webp"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://dbj84ub7f72wd"]
[gd_scene format=3 uid="uid://dbj84ub7f72wd"]
[ext_resource type="Script" uid="uid://cqqw54vye7lqn" path="res://rich_text_bbcode.gd" id="1"]
@@ -10,7 +10,7 @@ action = &"toggle_pause"
[sub_resource type="Shortcut" id="Shortcut_n2ck8"]
events = [SubResource("InputEventAction_eu7pn")]
[node name="RichTextBBCode" type="Control"]
[node name="RichTextBBCode" type="Control" unique_id=1964284039]
layout_mode = 3
anchors_preset = 8
anchor_left = 0.5
@@ -27,7 +27,7 @@ size_flags_horizontal = 2
size_flags_vertical = 2
script = ExtResource("1")
[node name="RichTextLabel" type="RichTextLabel" parent="."]
[node name="RichTextLabel" type="RichTextLabel" parent="." unique_id=205270850]
clip_contents = false
layout_mode = 1
anchors_preset = 15
@@ -80,7 +80,7 @@ You can also create custom tags/effects, or customize behavior of [lb]url[rb] ta
context_menu_enabled = true
selection_enabled = true
[node name="Pause" type="Button" parent="."]
[node name="Pause" type="Button" parent="." unique_id=936311136]
process_mode = 3
layout_mode = 1
anchors_preset = 2

View File

@@ -14,7 +14,7 @@ config/name="GUI Theming Override"
config/description="Demonstrates how to override GUI colors and styleboxes at runtime."
config/tags=PackedStringArray("demo", "gui", "official")
run/main_scene="res://test.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
run/low_processor_mode=true
config/icon="res://icon.webp"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=7 format=3 uid="uid://b8v8q2xitrid0"]
[gd_scene format=3 uid="uid://b8v8q2xitrid0"]
[ext_resource type="Script" uid="uid://niwgpse24tv0" path="res://test.gd" id="1"]
@@ -45,7 +45,7 @@ Button/styles/hover = SubResource("2")
Button/styles/normal = SubResource("3")
Button/styles/pressed = SubResource("4")
[node name="Control" type="Control"]
[node name="Control" type="Control" unique_id=1528916367]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -55,7 +55,7 @@ grow_vertical = 2
theme = SubResource("5")
script = ExtResource("1")
[node name="Panel" type="PanelContainer" parent="."]
[node name="Panel" type="PanelContainer" parent="." unique_id=1327522637]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
@@ -69,36 +69,36 @@ offset_bottom = 127.0
grow_horizontal = 2
grow_vertical = 2
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
[node name="MarginContainer" type="MarginContainer" parent="Panel" unique_id=861116123]
layout_mode = 2
theme_override_constants/margin_left = 20
theme_override_constants/margin_top = 20
theme_override_constants/margin_right = 20
theme_override_constants/margin_bottom = 20
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer"]
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer" unique_id=521334882]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer"]
[node name="Label" type="Label" parent="Panel/MarginContainer/VBoxContainer" unique_id=437490057]
layout_mode = 2
text = "GUI Theming Overrides"
horizontal_alignment = 1
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer"]
[node name="HSeparator" type="HSeparator" parent="Panel/MarginContainer/VBoxContainer" unique_id=1071421014]
layout_mode = 2
[node name="Button" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
[node name="Button" type="Button" parent="Panel/MarginContainer/VBoxContainer" unique_id=1495691785]
custom_minimum_size = Vector2(0, 48)
layout_mode = 2
text = "Click Me"
[node name="Button2" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
[node name="Button2" type="Button" parent="Panel/MarginContainer/VBoxContainer" unique_id=528078068]
custom_minimum_size = Vector2(0, 48)
layout_mode = 2
text = "Click Me"
[node name="ResetAllButton" type="Button" parent="Panel/MarginContainer/VBoxContainer"]
[node name="ResetAllButton" type="Button" parent="Panel/MarginContainer/VBoxContainer" unique_id=734549875]
custom_minimum_size = Vector2(0, 48)
layout_mode = 2
text = "Reset All"

View File

@@ -15,7 +15,7 @@ config/description="A demo showing how Godot seamlessly enables
the use of localized resources and texts."
config/tags=PackedStringArray("demo", "internationalization", "official")
run/main_scene="res://translation_demo_csv.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[debug]

View File

@@ -15,3 +15,5 @@ dest_files=["res://translations/csv/text.en.translation", "res://translations/cs
compress=true
delimiter=0
unescape_keys=false
unescape_translations=true

View File

@@ -1,4 +1,4 @@
[gd_resource type="FontVariation" load_steps=3 format=3 uid="uid://7qsb8s20yeot"]
[gd_resource type="FontVariation" format=3 uid="uid://7qsb8s20yeot"]
[ext_resource type="FontFile" uid="uid://cm2c1f4lvrt3v" path="res://fonts/NotoSans-Bold.ttf" id="1"]
[ext_resource type="FontFile" uid="uid://6lrl72pys0q5" path="res://fonts/NotoNaskhArabic-Bold.ttf" id="2"]

View File

@@ -13,7 +13,7 @@ config_version=5
config/name="UI Mirroring Demo"
config/tags=PackedStringArray("demo", "gui", "internationalization", "official")
run/main_scene="res://ui_mirroring.tscn"
config/features=PackedStringArray("4.5")
config/features=PackedStringArray("4.6")
config/icon="res://icon.webp"
[debug]

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=4 format=3 uid="uid://ctsi4div3u1bm"]
[gd_scene format=3 uid="uid://ctsi4div3u1bm"]
[ext_resource type="FontVariation" uid="uid://7qsb8s20yeot" path="res://fonts/noto_sans_bold.tres" id="1_anavx"]
[ext_resource type="Script" uid="uid://jpmvl40067f3" path="res://ui_mirroring.gd" id="2_ypepw"]
@@ -6,7 +6,7 @@
[sub_resource type="Theme" id="Theme_yin5r"]
default_font = ExtResource("1_anavx")
[node name="UIMirroring" type="Control"]
[node name="UIMirroring" type="Control" unique_id=455254926]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -16,7 +16,7 @@ grow_vertical = 2
theme = SubResource("Theme_yin5r")
script = ExtResource("2_ypepw")
[node name="PanelLTR" type="Panel" parent="."]
[node name="PanelLTR" type="Panel" parent="." unique_id=1275836503]
self_modulate = Color(0.494118, 1, 0.737255, 1)
layout_direction = 2
layout_mode = 0
@@ -27,58 +27,58 @@ offset_top = -200.0
offset_right = 275.0
offset_bottom = -50.0
[node name="GridContainer" type="GridContainer" parent="PanelLTR"]
[node name="GridContainer" type="GridContainer" parent="PanelLTR" unique_id=112656051]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
columns = 3
[node name="ButtonNW" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonNW" type="Button" parent="PanelLTR/GridContainer" unique_id=353612571]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "NorthWest"
[node name="ButtonN" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonN" type="Button" parent="PanelLTR/GridContainer" unique_id=1608888398]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "North"
[node name="ButtonNE" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonNE" type="Button" parent="PanelLTR/GridContainer" unique_id=644476194]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "NorthEast"
[node name="ButtonW" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonW" type="Button" parent="PanelLTR/GridContainer" unique_id=719323745]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "West"
[node name="ButtonCenter" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonCenter" type="Button" parent="PanelLTR/GridContainer" unique_id=576081615]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "*"
[node name="ButtonE" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonE" type="Button" parent="PanelLTR/GridContainer" unique_id=626164060]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Еast"
[node name="ButtonSW" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonSW" type="Button" parent="PanelLTR/GridContainer" unique_id=897765799]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "SouthWest"
[node name="ButtonS" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonS" type="Button" parent="PanelLTR/GridContainer" unique_id=336526506]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "South"
[node name="ButtonSE" type="Button" parent="PanelLTR/GridContainer"]
[node name="ButtonSE" type="Button" parent="PanelLTR/GridContainer" unique_id=965507199]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "SouthEast"
[node name="PanelLocale" type="Panel" parent="PanelLTR"]
[node name="PanelLocale" type="Panel" parent="PanelLTR" unique_id=1507089646]
self_modulate = Color(0.819608, 0.254902, 0.254902, 1)
layout_direction = 1
layout_mode = 0
@@ -87,22 +87,22 @@ offset_top = 101.0
offset_right = 170.0
offset_bottom = 141.0
[node name="HBoxContainer" type="HBoxContainer" parent="PanelLTR/PanelLocale"]
[node name="HBoxContainer" type="HBoxContainer" parent="PanelLTR/PanelLocale" unique_id=412599818]
layout_mode = 0
offset_right = 107.0
offset_bottom = 34.0005
[node name="ButtonPrev" type="Button" parent="PanelLTR/PanelLocale/HBoxContainer"]
[node name="ButtonPrev" type="Button" parent="PanelLTR/PanelLocale/HBoxContainer" unique_id=1893543230]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Previous"
[node name="ButtonNext" type="Button" parent="PanelLTR/PanelLocale/HBoxContainer"]
[node name="ButtonNext" type="Button" parent="PanelLTR/PanelLocale/HBoxContainer" unique_id=625383245]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Next"
[node name="PanelRTL" type="Panel" parent="."]
[node name="PanelRTL" type="Panel" parent="." unique_id=1412353737]
self_modulate = Color(0.0705882, 0.235294, 1, 1)
layout_direction = 3
layout_mode = 0
@@ -113,58 +113,58 @@ offset_top = -200.0
offset_right = 284.0
offset_bottom = -50.0
[node name="GridContainer" type="GridContainer" parent="PanelRTL"]
[node name="GridContainer" type="GridContainer" parent="PanelRTL" unique_id=1183986608]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
columns = 3
[node name="ButtonNW" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonNW" type="Button" parent="PanelRTL/GridContainer" unique_id=376352787]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "الشمال الشرقي"
[node name="ButtonN" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonN" type="Button" parent="PanelRTL/GridContainer" unique_id=254763840]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "الشمال"
[node name="ButtonNE" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonNE" type="Button" parent="PanelRTL/GridContainer" unique_id=1450485184]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "الشمال الغربي"
[node name="ButtonW" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonW" type="Button" parent="PanelRTL/GridContainer" unique_id=1379076810]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "الشرق"
[node name="ButtonCenter" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonCenter" type="Button" parent="PanelRTL/GridContainer" unique_id=1325637020]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "*"
[node name="ButtonE" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonE" type="Button" parent="PanelRTL/GridContainer" unique_id=1753397178]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "الغرب"
[node name="ButtonSW" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonSW" type="Button" parent="PanelRTL/GridContainer" unique_id=1275889687]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "الجنوب الشرقي"
[node name="ButtonS" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonS" type="Button" parent="PanelRTL/GridContainer" unique_id=933087879]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "الجنوب"
[node name="ButtonSE" type="Button" parent="PanelRTL/GridContainer"]
[node name="ButtonSE" type="Button" parent="PanelRTL/GridContainer" unique_id=2054468686]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = " الجنوب الغربي"
[node name="ButtonSwapLocale" type="Button" parent="."]
[node name="ButtonSwapLocale" type="Button" parent="." unique_id=541170765]
layout_mode = 0
offset_left = 670.0
offset_top = 25.0
@@ -173,31 +173,31 @@ offset_bottom = 65.0
theme_override_font_sizes/font_size = 12
text = "Swap locale"
[node name="PanelSide" type="Panel" parent="."]
[node name="PanelSide" type="Panel" parent="." unique_id=1669169720]
layout_mode = 0
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -20.0
[node name="HBoxContainer" type="HBoxContainer" parent="."]
[node name="HBoxContainer" type="HBoxContainer" parent="." unique_id=433095642]
layout_mode = 0
offset_left = 20.0
offset_top = 20.0
offset_right = 140.0
offset_bottom = 60.0
[node name="ButtonBack" type="Button" parent="HBoxContainer"]
[node name="ButtonBack" type="Button" parent="HBoxContainer" unique_id=884893162]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Back"
[node name="ButtonFwd" type="Button" parent="HBoxContainer"]
[node name="ButtonFwd" type="Button" parent="HBoxContainer" unique_id=431474683]
layout_mode = 2
theme_override_font_sizes/font_size = 12
text = "Forward"
[node name="Label" type="Label" parent="."]
[node name="Label" type="Label" parent="." unique_id=856872097]
layout_mode = 0
offset_left = 670.0
offset_top = 70.0
@@ -205,7 +205,7 @@ offset_right = 820.0
offset_bottom = 100.0
theme_override_font_sizes/font_size = 12
[node name="LabelInfo" type="Label" parent="."]
[node name="LabelInfo" type="Label" parent="." unique_id=853335101]
layout_mode = 0
offset_left = 100.0
offset_top = 100.0
@@ -219,7 +219,7 @@ Blue tinted controls - RTL layout direction.
Red tinted controls - Layout direction from locale.
Gray (default) controls - Inherited layout direction."
[node name="OptionButton" type="OptionButton" parent="."]
[node name="OptionButton" type="OptionButton" parent="." unique_id=1231913785]
layout_mode = 0
offset_left = 129.0
offset_top = 240.0
@@ -227,7 +227,7 @@ offset_right = 264.0
offset_bottom = 260.0
theme_override_font_sizes/font_size = 12
[node name="CheckBox" type="CheckBox" parent="."]
[node name="CheckBox" type="CheckBox" parent="." unique_id=523801884]
layout_mode = 0
offset_left = 124.0
offset_top = 265.0