Skip to content

Commit 732c0af

Browse files
committed
Adjust spacing in header bar
Partial fix for #3
1 parent 6aa7d44 commit 732c0af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Plotinus.vala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,15 @@ class Plotinus.Plotinus : Object {
8080
scrolled_window.add(command_list);
8181

8282
var header_bar = new Gtk.HeaderBar();
83+
header_bar.spacing = 0;
8384
window.set_titlebar(header_bar);
8485

8586
var search_entry = new Gtk.SearchEntry();
8687
// TODO: This is currently an unfortunate necessity as stable versions of GTK+
8788
// do not support expanding packed widgets. The fix will be in a future release
8889
// (see https://bugzilla.gnome.org/show_bug.cgi?id=724332).
8990
search_entry.set_size_request(600, -1);
91+
search_entry.margin = 4;
9092
header_bar.custom_title = search_entry;
9193

9294
search_entry.changed.connect(() => {

0 commit comments

Comments
 (0)