From 73ce0018085a69dafe59b0abe28cf149de6e1bce Mon Sep 17 00:00:00 2001 From: "Ward Nakchbandi (Cosmic Fusion)" Date: Fri, 30 Jun 2023 17:32:11 +0300 Subject: [PATCH] snapshot --- src/main.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 47371e2..cd19992 100644 --- a/src/main.rs +++ b/src/main.rs @@ -54,6 +54,7 @@ fn build_ui(app: &Application) { let driver_start_part_box = gtk::Box::builder() .orientation(Orientation::Horizontal) + .width_request(300) .build(); let driver_icon_label_box = gtk::Box::builder() @@ -65,6 +66,7 @@ fn build_ui(app: &Application) { .margin_bottom(12) .margin_start(12) .margin_end(12) + .halign(Align::Start) .build(); let driver_icon = gtk::Image::builder() @@ -73,6 +75,7 @@ fn build_ui(app: &Application) { .margin_start(12) .margin_end(12) .pixel_size(48) + .halign(Align::Start) .build(); if driver_name != "emScuM8rsa6kuhMePtR5bT8s4z9s" { @@ -171,13 +174,20 @@ fn build_ui(app: &Application) { - + let driver_start_sep = gtk::Separator::builder() + .build(); + + let driver_end_sep = gtk::Separator::builder() + .build(); + driver_icon_label_box.append(&driver_label); driver_icon_label_box.append(&driver_version_icon); driver_start_part_box.append(&driver_icon); driver_start_part_box.append(&driver_icon_label_box); driver_box.append(&driver_start_part_box); + driver_box.append(&driver_start_sep); driver_box.append(&driver_middle_part_box); + driver_box.append(&driver_end_sep); driver_box.append(&driver_end_part_box); if driver_name != "emScuM8rsa6kuhMePtR5bT8s4z9s" { driver_end_part_box.append(&driver_button);