From b86cd2ce3d373207ca4cef389a23c84049bb0e73 Mon Sep 17 00:00:00 2001 From: Alec Murphy Date: Sun, 21 Sep 2025 00:14:39 -0400 Subject: [PATCH] System/Core/SystemTray+AppBar: Reposition tray icons w/ system clock --- Applications/OS/AppBar.app/Run.HC | 2 +- System/Core/SystemTray.HC | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Applications/OS/AppBar.app/Run.HC b/Applications/OS/AppBar.app/Run.HC index 0a1d100..bb26da7 100644 --- a/Applications/OS/AppBar.app/Run.HC +++ b/Applications/OS/AppBar.app/Run.HC @@ -95,7 +95,7 @@ U0 Main() CDateStruct ds; U8 clock_text[32]; - TextInputWidget* clock = Gui.CreateWidget(win, WIDGET_TYPE_LABEL, Display.Width() - 126, 8, 64, 32); + TextInputWidget* clock = Gui.CreateWidget(win, WIDGET_TYPE_LABEL, Display.Width() - 124, 8, 124, 32); Gui.Widget.SetFont(clock, "Eight Bit Dragon"); Gui.Window.Refresh(win); diff --git a/System/Core/SystemTray.HC b/System/Core/SystemTray.HC index aff0168..2c1ee64 100644 --- a/System/Core/SystemTray.HC +++ b/System/Core/SystemTray.HC @@ -36,7 +36,7 @@ U0 @systemtray_unregister_item(Widget* item) U0 @systemtray_reindex_items() { - I64 x = Display.Width() - 100; + I64 x = Display.Width() - 128; @window_widgets_list* item = Compositor.menubar.win->widget; while (item->next) item = item->next;