fix: Add padding to HUD buttons
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user