fix: Add padding to HUD buttons

This commit is contained in:
demenik
2025-11-28 15:52:53 +01:00
parent 6536d54972
commit 1dcf505d69

View File

@@ -44,14 +44,20 @@ fn setup(mut commands: Commands) {
button(
inventory::components::ButtonType::InventoryOpen,
ButtonVariant::Secondary,
Node::default(),
Node {
padding: UiRect::all(px(10)),
..default()
},
"Inventar",
16.0
),
button(
ButtonType::SettingsOpen,
ButtonVariant::Secondary,
Node::default(),
Node {
padding: UiRect::all(px(10)),
..default()
},
"Einstellungen",
16.0
)