Skip to content

Commit

Permalink
refactor: sidebar header redesigned
Browse files Browse the repository at this point in the history
  • Loading branch information
golamrabbiazad committed Sep 27, 2024
1 parent 1dd157b commit 2f27bdb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
Expand Down

0 comments on commit 2f27bdb

Please sign in to comment.