💄 Add headerbar to preview windows

This commit is contained in:
Simon Schneegans
2022-01-27 05:07:00 +01:00
parent 28754a93c2
commit b6cb78330d
+4
View File
@@ -337,6 +337,10 @@ var PreferencesDialog = class PreferencesDialog {
this._button.get_toplevel()
});
// Add a header bar to the window.
const header = Gtk.HeaderBar.new();
window.set_titlebar(header);
const box = new Gtk.Box({
orientation: Gtk.Orientation.VERTICAL,
valign: Gtk.Align.CENTER,