fix browser UI being off
This commit is contained in:
@@ -201,7 +201,7 @@ texture = ExtResource("3_8gbba")
|
|||||||
stretch_mode = 5
|
stretch_mode = 5
|
||||||
|
|
||||||
[node name="Spacer3" type="Control" parent="VBoxContainer"]
|
[node name="Spacer3" type="Control" parent="VBoxContainer"]
|
||||||
custom_minimum_size = Vector2(0, 5)
|
custom_minimum_size = Vector2(0, 2)
|
||||||
layout_mode = 2
|
layout_mode = 2
|
||||||
|
|
||||||
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
[node name="ScrollContainer" type="ScrollContainer" parent="VBoxContainer"]
|
||||||
@@ -229,7 +229,7 @@ layout_mode = 1
|
|||||||
anchors_preset = 15
|
anchors_preset = 15
|
||||||
anchor_right = 1.0
|
anchor_right = 1.0
|
||||||
anchor_bottom = 1.0
|
anchor_bottom = 1.0
|
||||||
offset_top = 125.0
|
offset_top = 122.0
|
||||||
grow_horizontal = 2
|
grow_horizontal = 2
|
||||||
grow_vertical = 2
|
grow_vertical = 2
|
||||||
mouse_filter = 2
|
mouse_filter = 2
|
||||||
|
|||||||
@@ -114,4 +114,4 @@ static func create_panel_container_with_background(styles: Dictionary) -> PanelC
|
|||||||
return panel_container
|
return panel_container
|
||||||
|
|
||||||
static func needs_background_wrapper(styles: Dictionary) -> bool:
|
static func needs_background_wrapper(styles: Dictionary) -> bool:
|
||||||
return styles.has("background-color") or styles.has("border-radius") or styles.has("padding") or styles.has("padding-top") or styles.has("padding-right") or styles.has("padding-bottom") or styles.has("padding-left")
|
return styles.has("background-color") or styles.has("border-radius") or styles.has("padding") or styles.has("padding-top") or styles.has("padding-right") or styles.has("padding-bottom") or styles.has("padding-left")
|
||||||
|
|||||||
Reference in New Issue
Block a user