fix(shell): widen consumable tiles so labels fit
The 62px tiles clipped longer names (Draught, Antidote). Widen to 93px (~1.5x) — there is room in the command bar — so labels fit while tiles stay uniform. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -167,7 +167,7 @@ theme_override_constants/separation = 9
|
||||
alignment = 1
|
||||
|
||||
[node name="Slot1" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTile"
|
||||
@@ -182,7 +182,7 @@ theme_type_variation = &"Mono"
|
||||
text = "Salve"
|
||||
|
||||
[node name="Slot2" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTile"
|
||||
@@ -197,7 +197,7 @@ theme_type_variation = &"Mono"
|
||||
text = "Draught"
|
||||
|
||||
[node name="Slot3" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTile"
|
||||
@@ -212,7 +212,7 @@ theme_type_variation = &"Mono"
|
||||
text = "Bomb"
|
||||
|
||||
[node name="Slot4" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTile"
|
||||
@@ -227,7 +227,7 @@ theme_type_variation = &"Mono"
|
||||
text = "Antidote"
|
||||
|
||||
[node name="Slot5" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTile"
|
||||
@@ -242,7 +242,7 @@ theme_type_variation = &"Mono"
|
||||
text = "Ration"
|
||||
|
||||
[node name="Slot6" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTile"
|
||||
@@ -257,7 +257,7 @@ theme_type_variation = &"Mono"
|
||||
text = "Torch"
|
||||
|
||||
[node name="Slot7" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTileEmpty"
|
||||
@@ -271,7 +271,7 @@ theme_override_font_sizes/font_size = 11
|
||||
theme_type_variation = &"Mono"
|
||||
|
||||
[node name="Slot8" type="PanelContainer" parent="Split/World/CommandBar/Consumables"]
|
||||
custom_minimum_size = Vector2(62, 62)
|
||||
custom_minimum_size = Vector2(93, 62)
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 4
|
||||
theme_type_variation = &"ItemTileEmpty"
|
||||
|
||||
Reference in New Issue
Block a user