fix: Add padding to HUD buttons
This commit is contained in:
@@ -44,14 +44,20 @@ fn setup(mut commands: Commands) {
|
|||||||
button(
|
button(
|
||||||
inventory::components::ButtonType::InventoryOpen,
|
inventory::components::ButtonType::InventoryOpen,
|
||||||
ButtonVariant::Secondary,
|
ButtonVariant::Secondary,
|
||||||
Node::default(),
|
Node {
|
||||||
|
padding: UiRect::all(px(10)),
|
||||||
|
..default()
|
||||||
|
},
|
||||||
"Inventar",
|
"Inventar",
|
||||||
16.0
|
16.0
|
||||||
),
|
),
|
||||||
button(
|
button(
|
||||||
ButtonType::SettingsOpen,
|
ButtonType::SettingsOpen,
|
||||||
ButtonVariant::Secondary,
|
ButtonVariant::Secondary,
|
||||||
Node::default(),
|
Node {
|
||||||
|
padding: UiRect::all(px(10)),
|
||||||
|
..default()
|
||||||
|
},
|
||||||
"Einstellungen",
|
"Einstellungen",
|
||||||
16.0
|
16.0
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user