Phase 3 fixes: class_kind TShape->Shape; inspector props_grid in a ScrolledWindow, default width 340

This commit is contained in:
cnmcdee committed 2026-11-30 12:21:05 +00:00
1 parent 24f077769e
commit 2f7abd710d
2 files changed
+12 -4

No files matched your search

+1
View File
@@ -435,6 +435,7 @@ pub fn class_kind(class: &str) -> Option<&'static str> {
"GtkPasswordEntry" => "Entry",
"GtkSearchEntry" => "Entry",
"TCheckListBox" => "CheckListBox",
"TShape" => "Shape",
_ => return None,
})
}
+11 -4
View File
@@ -318,7 +318,7 @@
</object>
<object class="GtkWindow" id="inspector_window">
<property name="title">LightGUI — Object Inspector</property>
<property name="default_width">300</property>
<property name="default_width">340</property>
<property name="default_height">700</property>
<child>
<object class="GtkBox" id="props_box">
@@ -343,10 +343,17 @@
</object>
</child>
<child>
<object class="GtkGrid" id="props_grid">
<property name="row_spacing">4</property>
<property name="column_spacing">6</property>
<object class="GtkScrolledWindow" id="props_scroll">
<property name="visible">True</property>
<property name="vexpand">True</property>
<property name="hexpand">True</property>
<child>
<object class="GtkGrid" id="props_grid">
<property name="row_spacing">4</property>
<property name="column_spacing">6</property>
<property name="visible">True</property>
</object>
</child>
</object>
</child>
</object>