Skip to content

Commit

Permalink
Merge pull request #1453 from golamrabbiazad/std-sidebar-header
Browse files Browse the repository at this point in the history
sidebar header redesigned
  • Loading branch information
alainm23 authored Sep 27, 2024
2 parents d69fe67 + 2f27bdb commit ab3f93b
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 ab3f93b

Please sign in to comment.