fix w-full h-full and span sizing inheritance

This commit is contained in:
Face
2025-07-28 20:52:13 +03:00
parent 8ca3337f56
commit 97a4d22797
5 changed files with 94 additions and 11 deletions

View File

@@ -4,12 +4,15 @@
[ext_resource type="Theme" uid="uid://bn6rbmdy60lhr" path="res://Scenes/Styles/BrowserText.tres" id="2_theme"]
[node name="Button" type="Control"]
custom_minimum_size = Vector2(100, 30)
custom_minimum_size = Vector2(64, 30)
layout_mode = 3
anchors_preset = 0
offset_right = 64.0
offset_bottom = 30.0
script = ExtResource("1_button")
[node name="ButtonNode" type="Button" parent="."]
custom_minimum_size = Vector2(64, 0)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0

View File

@@ -135,7 +135,6 @@ min_value = -99999.0
max_value = 99999.0
[node name="FileContainer" type="HBoxContainer" parent="."]
visible = false
layout_mode = 0
offset_right = 300.0
offset_bottom = 35.0