Skip to content

Commit

Permalink
Layouting smartly
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Feb 1, 2024
1 parent a1ef04d commit 275642a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fuses/about/OSView.vala
Original file line number Diff line number Diff line change
Expand Up @@ -201,21 +201,22 @@ public class About.OSView : Gtk.Box {
gpu_box.append (gpu_subtitle);
gpu_box.add_css_class ("mini-content-block");

var stor_host_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 12) {
var stor_host_box = new Gtk.Box (Gtk.Orientation.HORIZONTAL, 6) {
margin_bottom = 6,
vexpand = false,
homogeneous = true
};
stor_host_box.append (hostname_box);
stor_host_box.append (storage_box);

var info_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 6);
var info_box = new Gtk.Box (Gtk.Orientation.VERTICAL, 2);
info_box.append (os_box);
info_box.append (stor_host_box);
info_box.append (model_box);
info_box.append (cpu_box);
info_box.append (gpu_box);
info_box.append (ram_box);
info_box.add_css_class ("content-list");

var scroller = new Gtk.ScrolledWindow () {
vexpand = true
Expand Down

0 comments on commit 275642a

Please sign in to comment.