From 4fb7aed8a2ebf9e985cb110e4f3fa552fae42b72 Mon Sep 17 00:00:00 2001
From: Cyrix126 <58007246+Cyrix126@users.noreply.github.com>
Date: Sun, 6 Oct 2024 17:56:14 +0200
Subject: [PATCH] fix: apply reduced item spacing to all elements of bottom bar

---
 src/app/panels/bottom.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/panels/bottom.rs b/src/app/panels/bottom.rs
index 866bd2d..1255ffa 100644
--- a/src/app/panels/bottom.rs
+++ b/src/app/panels/bottom.rs
@@ -46,12 +46,12 @@ impl crate::app::App {
             let height = self.size.y / 22.0;
             // let width = self.size.x;
             ui.style_mut().override_text_style = Some(Name("Bottom".into()));
+            ui.spacing_mut().item_spacing = ui.spacing().item_spacing / 2.0;
             ui.horizontal(|ui| {
                 ui.group(|ui| {
                     let size = vec2(0.0, height);
                     // [Gupax Version]
                     // Is yellow if the user updated and should (but isn't required to) restart.
-                    ui.spacing_mut().item_spacing = ui.spacing().item_spacing / 2.0;
                     match *lock!(self.restart) {
                         Restart::Yes => ui
                             .add_sized(