From c00a47fe7f9ae88c2d26a954b372c074b166b26c Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 14 May 2024 05:22:10 +0200 Subject: [PATCH] padding --- src/menu.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/menu.rs b/src/menu.rs index 16e238e..c632bd5 100644 --- a/src/menu.rs +++ b/src/menu.rs @@ -202,6 +202,8 @@ pub fn setup( style: Style { width: Val::Percent(100.0), height: Val::Percent(100.0), + left: Val::Percent(2.0), + top: Val::Percent(2.0), align_items: AlignItems::Start, justify_content: JustifyContent::Start, ..default()