Browse Source

Improve UI on larger displays

Arnaud Vergnet 3 years ago
parent
commit
a1cd380a18
1 changed files with 38 additions and 4 deletions
  1. 38
    4
      UI.tscn

+ 38
- 4
UI.tscn View File

@@ -1,17 +1,51 @@
1
-[gd_scene format=2]
1
+[gd_scene load_steps=2 format=2]
2
+
3
+[ext_resource path="res://images/pause.png" type="Texture" id=1]
2 4
 
3 5
 [node name="UI" type="Control"]
4 6
 anchor_right = 1.0
5 7
 anchor_bottom = 1.0
8
+margin_top = -0.471939
9
+margin_bottom = -0.471924
6 10
 mouse_filter = 2
7 11
 __meta__ = {
8 12
 "_edit_use_anchors_": false
9 13
 }
10 14
 
11
-[node name="Label" type="Label" parent="."]
15
+[node name="MarginContainer" type="MarginContainer" parent="."]
12 16
 anchor_right = 1.0
13
-anchor_bottom = 1.0
14
-text = "UI"
17
+margin_bottom = 52.0
18
+custom_constants/margin_right = 10
19
+custom_constants/margin_top = 10
20
+custom_constants/margin_left = 10
21
+custom_constants/margin_bottom = 10
22
+__meta__ = {
23
+"_edit_use_anchors_": false
24
+}
25
+
26
+[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
27
+margin_left = 10.0
28
+margin_top = 10.0
29
+margin_right = 1910.0
30
+margin_bottom = 42.0
31
+hint_tooltip = "Mettre en pause"
32
+size_flags_horizontal = 3
15 33
 __meta__ = {
16 34
 "_edit_use_anchors_": false
17 35
 }
36
+
37
+[node name="Label" type="Label" parent="MarginContainer/HBoxContainer"]
38
+margin_right = 1864.0
39
+margin_bottom = 14.0
40
+size_flags_horizontal = 3
41
+size_flags_vertical = 0
42
+text = "Serious Game on Ethics v0.1"
43
+__meta__ = {
44
+"_edit_use_anchors_": false
45
+}
46
+
47
+[node name="TextureButton" type="TextureButton" parent="MarginContainer/HBoxContainer"]
48
+margin_left = 1868.0
49
+margin_right = 1900.0
50
+margin_bottom = 32.0
51
+texture_normal = ExtResource( 1 )

Loading…
Cancel
Save