From 2f7abd710d700334c195061c3405515b4d3b2606 Mon Sep 17 00:00:00 2001 From: cnmcdee Date: Mon, 30 Nov 2026 12:21:05 +0000 Subject: [PATCH] Phase 3 fixes: class_kind TShape->Shape; inspector props_grid in a ScrolledWindow, default width 340 --- crates/lightgui-core/src/model.rs | 1 + crates/lightgui-designer/ui/designer.ui | 15 +++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/crates/lightgui-core/src/model.rs b/crates/lightgui-core/src/model.rs index 2ee1850..1c229ab 100644 --- a/crates/lightgui-core/src/model.rs +++ b/crates/lightgui-core/src/model.rs @@ -435,6 +435,7 @@ pub fn class_kind(class: &str) -> Option<&'static str> { "GtkPasswordEntry" => "Entry", "GtkSearchEntry" => "Entry", "TCheckListBox" => "CheckListBox", + "TShape" => "Shape", _ => return None, }) } diff --git a/crates/lightgui-designer/ui/designer.ui b/crates/lightgui-designer/ui/designer.ui index 9834dfa..8178f3f 100644 --- a/crates/lightgui-designer/ui/designer.ui +++ b/crates/lightgui-designer/ui/designer.ui @@ -318,7 +318,7 @@ LightGUI — Object Inspector - 300 + 340 700 @@ -343,10 +343,17 @@ - - 4 - 6 + True + True + True + + + 4 + 6 + True + +