From 6db6465d1b938ec494cd66c9984bff5cc14bde11 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 20 Oct 2024 12:09:48 +0200 Subject: next commit --- UI/PlayersList.tscn | 5 +---- UI/PlayersListItem.tscn | 9 +++++---- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'UI') 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="."] -- cgit v1.2.3