From 2f27bdb5f4ad6cda7c24bb3df0ac54670bd4d13c Mon Sep 17 00:00:00 2001 From: Golamrabbi Azad Date: Sat, 28 Sep 2024 00:15:59 +0600 Subject: [PATCH] refactor: sidebar header redesigned --- src/MainWindow.vala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 004fc936b..f8c243d9f 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -79,14 +79,17 @@ public class MainWindow : Adw.ApplicationWindow { css_classes = { "flat" } }; + var title_label = new Gtk.Label ("Planify"); + title_label.add_css_class ("title"); + var sidebar_header = new Adw.HeaderBar () { - title_widget = new Gtk.Label (null), + title_widget = title_label, hexpand = true }; sidebar_header.add_css_class ("flat"); + sidebar_header.pack_start (search_button); sidebar_header.pack_end (settings_button); - sidebar_header.pack_end (search_button); sidebar_header.pack_end (fake_button); sidebar = new Layouts.Sidebar ();