diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-10-20 12:09:48 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-10-20 12:09:48 +0200 |
commit | 6db6465d1b938ec494cd66c9984bff5cc14bde11 (patch) | |
tree | 9533b364e3e40ff813ef263ab05bd69ac31f8777 /UI | |
parent | e82990eeafdf0be5d42d8aaa9b7fb6091e0d8435 (diff) |
next commit
Diffstat (limited to 'UI')
-rw-r--r-- | UI/PlayersList.tscn | 5 | ||||
-rw-r--r-- | UI/PlayersListItem.tscn | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/UI/PlayersList.tscn b/UI/PlayersList.tscn index 2575b73..4ba62f7 100644 --- a/UI/PlayersList.tscn +++ b/UI/PlayersList.tscn @@ -4,7 +4,7 @@ [ext_resource type="PackedScene" uid="uid://wxe1hpn013y8" path="res://UI/PlayersListItem.tscn" id="2_ug8m7"] [node name="PlayersList" type="PanelContainer"] -offset_right = 96.0 +offset_right = 192.0 offset_bottom = 43.0 script = ExtResource("1_67rpy") @@ -22,9 +22,6 @@ layout_mode = 2 [node name="Header" parent="MarginContainer/List" instance=ExtResource("2_ug8m7")] layout_mode = 2 -[node name="ID" parent="MarginContainer/List/Header/HBoxContainer" index="0"] -text = "ID" - [node name="Score" parent="MarginContainer/List/Header/HBoxContainer" index="2"] text = "Income" diff --git a/UI/PlayersListItem.tscn b/UI/PlayersListItem.tscn index 36a934b..1544c35 100644 --- a/UI/PlayersListItem.tscn +++ b/UI/PlayersListItem.tscn @@ -1,8 +1,8 @@ [gd_scene format=3 uid="uid://wxe1hpn013y8"] [node name="PlayersListItem" type="MarginContainer"] -offset_right = 6.0 -offset_bottom = 23.0 +offset_right = 192.0 +offset_bottom = 27.0 theme_override_constants/margin_left = 8 theme_override_constants/margin_top = 2 theme_override_constants/margin_right = 8 @@ -15,8 +15,9 @@ layout_mode = 2 unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 +size_flags_stretch_ratio = 2.0 mouse_filter = 1 -text = "1" +text = "ID" horizontal_alignment = 1 clip_text = true text_overrun_behavior = 3 @@ -30,7 +31,7 @@ size_flags_horizontal = 3 unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 -text = "0" +text = "Score" horizontal_alignment = 1 [node name="Indicator" type="Control" parent="."] |