Commit 05741cbf authored by Adrien Plazas's avatar Adrien Plazas

window: Reduce the hardcoded minimum size

This reduces the hardcoded minimum size to ensure it can fit phone
screens, moving the size request to the window's child to avoid having
to take shadows into account.
parent 5043bf5c
Pipeline #35218 failed with stage
in 0 seconds
......@@ -37,7 +37,6 @@ namespace Usage
GLib.Object(application : application);
this.set_default_size(950, 600);
this.set_size_request(930, 300);
this.window_position = Gtk.WindowPosition.CENTER;
......@@ -48,6 +47,7 @@ namespace Usage
var stack = new Gtk.Stack();
stack.set_size_request(360, 200);
stack.visible = true;
stack.vexpand = true;
header_bar = new Usage.HeaderBar(stack);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment