From a8711802f0576f74b821f2e1e59810f6227752b4 Mon Sep 17 00:00:00 2001 From: Ilya Zlobintsev Date: Mon, 11 Mar 2024 22:45:01 +0200 Subject: [PATCH] feat: clearer gpu/card model separation (#287) --- lact-gui/src/app/info_row.rs | 12 ++++- lact-gui/src/app/mod.rs | 2 +- .../app/root_stack/info_page/hardware_info.rs | 51 +++++++++++++------ .../ui/info_page/hardware_info_section.blp | 11 +++- lact-gui/ui/info_row.blp | 14 +++++ 5 files changed, 70 insertions(+), 20 deletions(-) diff --git a/lact-gui/src/app/info_row.rs b/lact-gui/src/app/info_row.rs index 748c6ba..e953930 100644 --- a/lact-gui/src/app/info_row.rs +++ b/lact-gui/src/app/info_row.rs @@ -25,7 +25,7 @@ mod imp { prelude::*, widget::{CompositeTemplateClass, WidgetImpl}, }, - CompositeTemplate, Label, TemplateChild, + CompositeTemplate, Label, MenuButton, TemplateChild, }; use std::{cell::RefCell, str::FromStr}; @@ -39,9 +39,13 @@ mod imp { value: RefCell, #[property(get, set)] selectable: RefCell, + #[property(get, set)] + info_text: RefCell, #[template_child] value_label: TemplateChild