From fed5a828f17015ee9b08c1df92d796341871236c Mon Sep 17 00:00:00 2001 From: Pavel Baksy Date: Sat, 20 Dec 2025 02:39:52 +0100 Subject: [PATCH] Add independent resizable sidebar panel with separate header bar Restructure the UI to use GtkPaned instead of nested panes, giving the sidebar its own independent header bar aligned horizontally with the main content header. The sidebar is now clearly resizable with a draggable divider and has window control buttons disabled to avoid duplicate close buttons. --- src/main-window.ui | 194 +++++++++++++++++++++++---------------------- src/window.ui | 50 ------------ 2 files changed, 99 insertions(+), 145 deletions(-) delete mode 100644 src/window.ui diff --git a/src/main-window.ui b/src/main-window.ui index 9769c0f..2697a35 100644 --- a/src/main-window.ui +++ b/src/main-window.ui @@ -8,24 +8,107 @@ 1200 800 - + + horizontal + 300 + False + True + False + True + False - - - - - - True - open-menu-symbolic - Main Menu - primary_menu + + + + vertical + 200 + + + + + False + False + False + + + Projects + + + + + + list-add-symbolic + Add Project + + + + + + + + + + + vertical + True + + + + + True + + + + + + + + + + + + Save Current Request + 12 + 12 + 12 + + + + - + - - + + + + vertical + + + + + + + True + open-menu-symbolic + Main Menu + primary_menu + + + + + + + vertical @@ -83,87 +166,8 @@ True True - + - - - horizontal - 250 - False - True - - - - - vertical - 200 - - - - - horizontal - 6 - 12 - 12 - 6 - 6 - - - - Projects - 0 - True - - - - - - - list-add-symbolic - Add Project - - - - - - - - - - - True - - - - - - - - - - - - Save Current Request - 12 - 12 - 12 - - - - - - - - - horizontal 600 @@ -237,8 +241,6 @@ - - @@ -287,6 +289,8 @@ + + diff --git a/src/window.ui b/src/window.ui deleted file mode 100644 index caa0921..0000000 --- a/src/window.ui +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - -
- - _Preferences - app.preferences - - - _Keyboard Shortcuts - app.shortcuts - - - _About Roster - app.about - -
-
-