Improve UI on larger displays

這個提交存在於:
Arnaud Vergnet 2021-04-09 10:27:35 +02:00
父節點 0ddf1802c4
當前提交 a1cd380a18

42
UI.tscn
查看文件

@ -1,17 +1,51 @@
[gd_scene format=2]
[gd_scene load_steps=2 format=2]
[ext_resource path="res://images/pause.png" type="Texture" id=1]
[node name="UI" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -0.471939
margin_bottom = -0.471924
mouse_filter = 2
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
[node name="MarginContainer" type="MarginContainer" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
text = "UI"
margin_bottom = 52.0
custom_constants/margin_right = 10
custom_constants/margin_top = 10
custom_constants/margin_left = 10
custom_constants/margin_bottom = 10
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
margin_left = 10.0
margin_top = 10.0
margin_right = 1910.0
margin_bottom = 42.0
hint_tooltip = "Mettre en pause"
size_flags_horizontal = 3
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
margin_right = 1864.0
margin_bottom = 14.0
size_flags_horizontal = 3
size_flags_vertical = 0
text = "Serious Game on Ethics v0.1"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton" type="TextureButton" parent="MarginContainer/HBoxContainer"]
margin_left = 1868.0
margin_right = 1900.0
margin_bottom = 32.0
texture_normal = ExtResource( 1 )