Task 3: placement sizes are max(registry default, content minimum) so the outer border encloses each widget's content
27 widgets (18 dialogs, 2 calendars, 3 views, 4 choosers) get larger defaults, applied in the xframe-common build.rs (designer placement) and gen_data.py (widget factory). Verified live under Xvfb on hot_chicago: placed sizes now e.g. GtkAboutDialog 520x260, TPageSetupDialog 320x400, TColorDialog 520x300. Two residual internal-layout collisions (TFindDialog Direction/Find Next, GtkFileChooserDialog Name/path) are draw-code issues, not placement size.
This commit is contained in:
1 parent
da84fba814
commit
079947b3d1
3 files changed
+111
-28
No files matched your search
@@ -38,6 +38,44 @@ struct Palette {
|
||||
xframe_count: usize,
|
||||
}
|
||||
|
||||
/// Task 3 — content minimum sizes (w, h) per widget type, measured from
|
||||
/// the widget's fixed content (drawn text rows, columns, grids, action bars).
|
||||
/// Placement uses max(registry default, content minimum) so the outer border
|
||||
/// encloses the contents at placement time. Same values as the C repo's
|
||||
/// widgets/tools/gen_registry.py MIN_SIZES and gen_data.py.
|
||||
fn min_size(name: &str) -> (u16, u16) {
|
||||
match name {
|
||||
"GtkAboutDialog" => (520, 260),
|
||||
"GtkAssistant" => (320, 280),
|
||||
"GtkColorChooserDialog" => (340, 240),
|
||||
"GtkFileChooserDialog" => (360, 240),
|
||||
"GtkFontChooserDialog" => (340, 240),
|
||||
"GtkPrintUnixDialog" => (360, 300),
|
||||
"GtkShortcutsWindow" => (320, 300),
|
||||
"TCalendarDialog" => (320, 280),
|
||||
"TColorDialog" => (520, 300),
|
||||
"TFindDialog" => (380, 260),
|
||||
"TFontDialog" => (320, 320),
|
||||
"TOpenPictureDialog" => (400, 240),
|
||||
"TPageSetupDialog" => (320, 400),
|
||||
"TPrintDialog" => (320, 300),
|
||||
"TReplaceDialog" => (360, 260),
|
||||
"TSavePictureDialog" => (400, 240),
|
||||
"TSelectDirectoryDialog" => (360, 260),
|
||||
"TTaskDialog" => (340, 280),
|
||||
"GtkCalendar" => (260, 200),
|
||||
"TCalendar" => (260, 200),
|
||||
"GtkTreeView" => (320, 200),
|
||||
"TListView" => (320, 200),
|
||||
"TStringGrid" => (360, 200),
|
||||
"GtkAppChooserWidget" => (320, 240),
|
||||
"GtkColorChooserWidget" => (340, 260),
|
||||
"GtkFileChooserWidget" => (340, 260),
|
||||
"GtkFontChooserWidget" => (340, 260),
|
||||
_ => (0, 0),
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
let manifest = PathBuf::from(env::var("CARGO_MANIFEST_DIR").unwrap());
|
||||
let reg_path = manifest.join("../../data/registry.json");
|
||||
@@ -94,9 +132,13 @@ fn main() {
|
||||
out.push_str("];\n");
|
||||
out.push_str("pub static WIDGETS: [WidgetMeta; WIDGET_COUNT] = [");
|
||||
for w in ®.widgets {
|
||||
// Task 3: placement size is max(registry default, content minimum).
|
||||
let (mw, mh) = min_size(&w.name);
|
||||
let dw = w.default_w.max(mw);
|
||||
let dh = w.default_h.max(mh);
|
||||
out.push_str(&format!(
|
||||
"WidgetMeta {{ index: {}, name: {:?}, family: {:?}, section_index: {}, default_w: {}, default_h: {} }}, ",
|
||||
w.index, w.name, w.family, w.section_index, w.default_w, w.default_h
|
||||
w.index, w.name, w.family, w.section_index, dw, dh
|
||||
));
|
||||
}
|
||||
out.push_str("];\n");
|
||||
|
||||
@@ -169,9 +169,50 @@ def rust_ident(s):
|
||||
return re.sub(r"[^A-Za-z0-9_]", "_", s)
|
||||
|
||||
|
||||
# Task 3 — content minimum sizes (w, h) per widget type, measured from
|
||||
# the widget's fixed content (drawn text rows, columns, grids, action bars).
|
||||
# Placement uses max(registry default, content minimum) so the outer border
|
||||
# encloses the contents at placement time. Same values as the C repo's
|
||||
# widgets/tools/gen_registry.py MIN_SIZES.
|
||||
MIN_SIZES = {
|
||||
"GtkAboutDialog": (520, 260),
|
||||
"GtkAssistant": (320, 280),
|
||||
"GtkColorChooserDialog": (340, 240),
|
||||
"GtkFileChooserDialog": (360, 240),
|
||||
"GtkFontChooserDialog": (340, 240),
|
||||
"GtkPrintUnixDialog": (360, 300),
|
||||
"GtkShortcutsWindow": (320, 300),
|
||||
"TCalendarDialog": (320, 280),
|
||||
"TColorDialog": (520, 300),
|
||||
"TFindDialog": (380, 260),
|
||||
"TFontDialog": (320, 320),
|
||||
"TOpenPictureDialog": (400, 240),
|
||||
"TPageSetupDialog": (320, 400),
|
||||
"TPrintDialog": (320, 300),
|
||||
"TReplaceDialog": (360, 260),
|
||||
"TSavePictureDialog": (400, 240),
|
||||
"TSelectDirectoryDialog": (360, 260),
|
||||
"TTaskDialog": (340, 280),
|
||||
"GtkCalendar": (260, 200),
|
||||
"TCalendar": (260, 200),
|
||||
"GtkTreeView": (320, 200),
|
||||
"TListView": (320, 200),
|
||||
"TStringGrid": (360, 200),
|
||||
"GtkAppChooserWidget": (320, 240),
|
||||
"GtkColorChooserWidget": (340, 260),
|
||||
"GtkFileChooserWidget": (340, 260),
|
||||
"GtkFontChooserWidget": (340, 260),
|
||||
}
|
||||
|
||||
|
||||
entries = []
|
||||
counts = {}
|
||||
for w in reg["widgets"]:
|
||||
# Task 3: placement size is max(registry default, content minimum).
|
||||
mn = MIN_SIZES.get(w["name"])
|
||||
if mn:
|
||||
w["default_w"] = max(w["default_w"], mn[0])
|
||||
w["default_h"] = max(w["default_h"], mn[1])
|
||||
arch, kind, line = classify(w)
|
||||
counts[arch] = counts.get(arch, 0) + 1
|
||||
entries.append((w, arch, kind, line))
|
||||
|
||||
@@ -27,26 +27,26 @@ pub struct RegistryEntry {
|
||||
|
||||
/// All 547 widgets, in registry order.
|
||||
pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 0, name: "GtkAboutDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "AboutDialog", line: None },
|
||||
RegistryEntry { index: 0, name: "GtkAboutDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 520, default_h: 260, archetype: Archetype::Dialog, kind: "AboutDialog", line: None },
|
||||
RegistryEntry { index: 1, name: "GtkAccelLabel", family: "Gtk", section: "Display", section_index: 3, default_w: 180, default_h: 30, archetype: Archetype::Label, kind: "AccelLabel", line: None },
|
||||
RegistryEntry { index: 2, name: "GtkActionBar", family: "Gtk", section: "Menus & Toolbars", section_index: 7, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "ActionBar", line: None },
|
||||
RegistryEntry { index: 3, name: "GtkAppChooserButton", family: "Gtk", section: "Choosers", section_index: 5, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "AppChooserButton", line: None },
|
||||
RegistryEntry { index: 4, name: "GtkAppChooserDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "AppChooserDialog", line: None },
|
||||
RegistryEntry { index: 5, name: "GtkAppChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "AppChooserWidget", line: None },
|
||||
RegistryEntry { index: 5, name: "GtkAppChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 320, default_h: 240, archetype: Archetype::Container, kind: "AppChooserWidget", line: None },
|
||||
RegistryEntry { index: 6, name: "GtkApplicationWindow", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Container, kind: "ApplicationWindow", line: None },
|
||||
RegistryEntry { index: 7, name: "GtkAspectFrame", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "AspectFrame", line: None },
|
||||
RegistryEntry { index: 8, name: "GtkAssistant", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "Assistant", line: None },
|
||||
RegistryEntry { index: 8, name: "GtkAssistant", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 320, default_h: 280, archetype: Archetype::Dialog, kind: "Assistant", line: None },
|
||||
RegistryEntry { index: 9, name: "GtkBox", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Box", line: None },
|
||||
RegistryEntry { index: 10, name: "GtkButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "Button", line: None },
|
||||
RegistryEntry { index: 11, name: "GtkButtonBox", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 150, default_h: 36, archetype: Archetype::Container, kind: "ButtonBox", line: None },
|
||||
RegistryEntry { index: 12, name: "GtkCalendar", family: "Gtk", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Calendar", line: None },
|
||||
RegistryEntry { index: 12, name: "GtkCalendar", family: "Gtk", section: "Display", section_index: 3, default_w: 260, default_h: 200, archetype: Archetype::Container, kind: "Calendar", line: None },
|
||||
RegistryEntry { index: 13, name: "GtkCellView", family: "Gtk", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "CellView", line: None },
|
||||
RegistryEntry { index: 14, name: "GtkCenterBox", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "CenterBox", line: None },
|
||||
RegistryEntry { index: 15, name: "GtkCheckButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Toggle, kind: "CheckButton", line: None },
|
||||
RegistryEntry { index: 16, name: "GtkCheckMenuItem", family: "Gtk", section: "Menus & Toolbars", section_index: 7, default_w: 150, default_h: 36, archetype: Archetype::Toggle, kind: "CheckMenuItem", line: None },
|
||||
RegistryEntry { index: 17, name: "GtkColorButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "ColorButton", line: None },
|
||||
RegistryEntry { index: 18, name: "GtkColorChooserDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "ColorChooserDialog", line: None },
|
||||
RegistryEntry { index: 19, name: "GtkColorChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "ColorChooserWidget", line: None },
|
||||
RegistryEntry { index: 18, name: "GtkColorChooserDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 340, default_h: 240, archetype: Archetype::Dialog, kind: "ColorChooserDialog", line: None },
|
||||
RegistryEntry { index: 19, name: "GtkColorChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 340, default_h: 260, archetype: Archetype::Container, kind: "ColorChooserWidget", line: None },
|
||||
RegistryEntry { index: 20, name: "GtkColorDialogButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 300, default_h: 220, archetype: Archetype::Button, kind: "ColorDialogButton", line: None },
|
||||
RegistryEntry { index: 21, name: "GtkColumnView", family: "Gtk", section: "Views & Lists", section_index: 6, default_w: 260, default_h: 180, archetype: Archetype::ListSel, kind: "ColumnView", line: None },
|
||||
RegistryEntry { index: 22, name: "GtkComboBox", family: "Gtk", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::ListSel, kind: "ComboBox", line: None },
|
||||
@@ -60,13 +60,13 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 30, name: "GtkEventBox", family: "Gtk", section: "Misc / X", section_index: 8, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "EventBox", line: None },
|
||||
RegistryEntry { index: 31, name: "GtkExpander", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Expander", line: None },
|
||||
RegistryEntry { index: 32, name: "GtkFileChooserButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "FileChooserButton", line: None },
|
||||
RegistryEntry { index: 33, name: "GtkFileChooserDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "FileChooserDialog", line: None },
|
||||
RegistryEntry { index: 34, name: "GtkFileChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "FileChooserWidget", line: None },
|
||||
RegistryEntry { index: 33, name: "GtkFileChooserDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 360, default_h: 240, archetype: Archetype::Dialog, kind: "FileChooserDialog", line: None },
|
||||
RegistryEntry { index: 34, name: "GtkFileChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 340, default_h: 260, archetype: Archetype::Container, kind: "FileChooserWidget", line: None },
|
||||
RegistryEntry { index: 35, name: "GtkFixed", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Fixed", line: None },
|
||||
RegistryEntry { index: 36, name: "GtkFlowBox", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "FlowBox", line: None },
|
||||
RegistryEntry { index: 37, name: "GtkFontButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "FontButton", line: None },
|
||||
RegistryEntry { index: 38, name: "GtkFontChooserDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "FontChooserDialog", line: None },
|
||||
RegistryEntry { index: 39, name: "GtkFontChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "FontChooserWidget", line: None },
|
||||
RegistryEntry { index: 38, name: "GtkFontChooserDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 340, default_h: 240, archetype: Archetype::Dialog, kind: "FontChooserDialog", line: None },
|
||||
RegistryEntry { index: 39, name: "GtkFontChooserWidget", family: "Gtk", section: "Choosers", section_index: 5, default_w: 340, default_h: 260, archetype: Archetype::Container, kind: "FontChooserWidget", line: None },
|
||||
RegistryEntry { index: 40, name: "GtkFrame", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Frame", line: None },
|
||||
RegistryEntry { index: 41, name: "GtkGLArea", family: "Gtk", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "GLArea", line: None },
|
||||
RegistryEntry { index: 42, name: "GtkGrid", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 260, default_h: 180, archetype: Archetype::Container, kind: "Grid", line: None },
|
||||
@@ -98,7 +98,7 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 68, name: "GtkPicture", family: "Gtk", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "Picture", line: None },
|
||||
RegistryEntry { index: 69, name: "GtkPlacesSidebar", family: "Gtk", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "PlacesSidebar", line: None },
|
||||
RegistryEntry { index: 70, name: "GtkPopover", family: "Gtk", section: "Menus & Toolbars", section_index: 7, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Popover", line: None },
|
||||
RegistryEntry { index: 71, name: "GtkPrintUnixDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "PrintUnixDialog", line: None },
|
||||
RegistryEntry { index: 71, name: "GtkPrintUnixDialog", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 360, default_h: 300, archetype: Archetype::Dialog, kind: "PrintUnixDialog", line: None },
|
||||
RegistryEntry { index: 72, name: "GtkProgressBar", family: "Gtk", section: "Display", section_index: 3, default_w: 180, default_h: 30, archetype: Archetype::Range, kind: "ProgressBar", line: None },
|
||||
RegistryEntry { index: 73, name: "GtkRadioButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Toggle, kind: "RadioButton", line: None },
|
||||
RegistryEntry { index: 74, name: "GtkRadioMenuItem", family: "Gtk", section: "Menus & Toolbars", section_index: 7, default_w: 150, default_h: 36, archetype: Archetype::Toggle, kind: "RadioMenuItem", line: None },
|
||||
@@ -111,7 +111,7 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 81, name: "GtkSearchEntry", family: "Gtk", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::Entry, kind: "SearchEntry", line: None },
|
||||
RegistryEntry { index: 82, name: "GtkSeparator", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 180, default_h: 30, archetype: Archetype::Display, kind: "Separator", line: None },
|
||||
RegistryEntry { index: 83, name: "GtkSeparatorMenuItem", family: "Gtk", section: "Menus & Toolbars", section_index: 7, default_w: 180, default_h: 30, archetype: Archetype::Display, kind: "SeparatorMenuItem", line: None },
|
||||
RegistryEntry { index: 84, name: "GtkShortcutsWindow", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "ShortcutsWindow", line: None },
|
||||
RegistryEntry { index: 84, name: "GtkShortcutsWindow", family: "Gtk", section: "Windows & Dialogs", section_index: 0, default_w: 320, default_h: 300, archetype: Archetype::Dialog, kind: "ShortcutsWindow", line: None },
|
||||
RegistryEntry { index: 85, name: "GtkSpinButton", family: "Gtk", section: "Text & Entry", section_index: 4, default_w: 150, default_h: 36, archetype: Archetype::Range, kind: "SpinButton", line: None },
|
||||
RegistryEntry { index: 86, name: "GtkSpinner", family: "Gtk", section: "Display", section_index: 3, default_w: 150, default_h: 36, archetype: Archetype::Display, kind: "Spinner", line: None },
|
||||
RegistryEntry { index: 87, name: "GtkStack", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 260, default_h: 180, archetype: Archetype::Container, kind: "Stack", line: None },
|
||||
@@ -124,7 +124,7 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 94, name: "GtkToggleToolButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "ToggleToolButton", line: None },
|
||||
RegistryEntry { index: 95, name: "GtkToolButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "ToolButton", line: None },
|
||||
RegistryEntry { index: 96, name: "GtkToolbar", family: "Gtk", section: "Menus & Toolbars", section_index: 7, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "Toolbar", line: None },
|
||||
RegistryEntry { index: 97, name: "GtkTreeView", family: "Gtk", section: "Views & Lists", section_index: 6, default_w: 260, default_h: 180, archetype: Archetype::ListSel, kind: "TreeView", line: None },
|
||||
RegistryEntry { index: 97, name: "GtkTreeView", family: "Gtk", section: "Views & Lists", section_index: 6, default_w: 320, default_h: 200, archetype: Archetype::ListSel, kind: "TreeView", line: None },
|
||||
RegistryEntry { index: 98, name: "GtkVideo", family: "Gtk", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "Video", line: None },
|
||||
RegistryEntry { index: 99, name: "GtkViewport", family: "Gtk", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Viewport", line: None },
|
||||
RegistryEntry { index: 100, name: "GtkVolumeButton", family: "Gtk", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "VolumeButton", line: None },
|
||||
@@ -491,15 +491,15 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 461, name: "TButtonPanel", family: "T", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Container, kind: "ButtonPanel", line: None },
|
||||
RegistryEntry { index: 462, name: "TCalcEdit", family: "T", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::Entry, kind: "CalcEdit", line: None },
|
||||
RegistryEntry { index: 463, name: "TCalculatorDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "CalculatorDialog", line: None },
|
||||
RegistryEntry { index: 464, name: "TCalendar", family: "T", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Calendar", line: None },
|
||||
RegistryEntry { index: 465, name: "TCalendarDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "CalendarDialog", line: None },
|
||||
RegistryEntry { index: 464, name: "TCalendar", family: "T", section: "Display", section_index: 3, default_w: 260, default_h: 200, archetype: Archetype::Container, kind: "Calendar", line: None },
|
||||
RegistryEntry { index: 465, name: "TCalendarDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 320, default_h: 280, archetype: Archetype::Dialog, kind: "CalendarDialog", line: None },
|
||||
RegistryEntry { index: 466, name: "TCheckBox", family: "T", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Toggle, kind: "CheckBox", line: None },
|
||||
RegistryEntry { index: 467, name: "TCheckComboBox", family: "T", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::ListSel, kind: "CheckComboBox", line: None },
|
||||
RegistryEntry { index: 468, name: "TCheckGroup", family: "T", section: "Views & Lists", section_index: 6, default_w: 150, default_h: 36, archetype: Archetype::ListSel, kind: "CheckGroup", line: None },
|
||||
RegistryEntry { index: 469, name: "TCheckListBox", family: "T", section: "Views & Lists", section_index: 6, default_w: 150, default_h: 36, archetype: Archetype::ListSel, kind: "CheckListBox", line: None },
|
||||
RegistryEntry { index: 470, name: "TColorBox", family: "T", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "ColorBox", line: None },
|
||||
RegistryEntry { index: 471, name: "TColorButton", family: "T", section: "Choosers", section_index: 5, default_w: 150, default_h: 36, archetype: Archetype::Button, kind: "ColorButton", line: None },
|
||||
RegistryEntry { index: 472, name: "TColorDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "ColorDialog", line: None },
|
||||
RegistryEntry { index: 472, name: "TColorDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 520, default_h: 300, archetype: Archetype::Dialog, kind: "ColorDialog", line: None },
|
||||
RegistryEntry { index: 473, name: "TColorListBox", family: "T", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "ColorListBox", line: None },
|
||||
RegistryEntry { index: 474, name: "TComboBox", family: "T", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::ListSel, kind: "ComboBox", line: None },
|
||||
RegistryEntry { index: 475, name: "TComboBoxEx", family: "T", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::ListSel, kind: "ComboBoxEx", line: None },
|
||||
@@ -514,10 +514,10 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 484, name: "TFileListBox", family: "T", section: "Choosers", section_index: 5, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "FileListBox", line: None },
|
||||
RegistryEntry { index: 485, name: "TFileNameEdit", family: "T", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::Entry, kind: "FileNameEdit", line: None },
|
||||
RegistryEntry { index: 486, name: "TFilterComboBox", family: "T", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::ListSel, kind: "FilterComboBox", line: None },
|
||||
RegistryEntry { index: 487, name: "TFindDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "FindDialog", line: None },
|
||||
RegistryEntry { index: 487, name: "TFindDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 380, default_h: 260, archetype: Archetype::Dialog, kind: "FindDialog", line: None },
|
||||
RegistryEntry { index: 488, name: "TFloatSpinEdit", family: "T", section: "Text & Entry", section_index: 4, default_w: 150, default_h: 36, archetype: Archetype::Range, kind: "FloatSpinEdit", line: None },
|
||||
RegistryEntry { index: 489, name: "TFlowPanel", family: "T", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "FlowPanel", line: None },
|
||||
RegistryEntry { index: 490, name: "TFontDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "FontDialog", line: None },
|
||||
RegistryEntry { index: 490, name: "TFontDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 320, default_h: 320, archetype: Archetype::Dialog, kind: "FontDialog", line: None },
|
||||
RegistryEntry { index: 491, name: "TForm", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Container, kind: "Form", line: None },
|
||||
RegistryEntry { index: 492, name: "TFrame", family: "T", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Frame", line: None },
|
||||
RegistryEntry { index: 493, name: "TGroupBox", family: "T", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "GroupBox", line: None },
|
||||
@@ -527,31 +527,31 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 497, name: "TLabel", family: "T", section: "Display", section_index: 3, default_w: 180, default_h: 30, archetype: Archetype::Label, kind: "Label", line: None },
|
||||
RegistryEntry { index: 498, name: "TLabeledEdit", family: "T", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::Entry, kind: "LabeledEdit", line: None },
|
||||
RegistryEntry { index: 499, name: "TListBox", family: "T", section: "Views & Lists", section_index: 6, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "ListBox", line: None },
|
||||
RegistryEntry { index: 500, name: "TListView", family: "T", section: "Views & Lists", section_index: 6, default_w: 260, default_h: 180, archetype: Archetype::ListSel, kind: "ListView", line: None },
|
||||
RegistryEntry { index: 500, name: "TListView", family: "T", section: "Views & Lists", section_index: 6, default_w: 320, default_h: 200, archetype: Archetype::ListSel, kind: "ListView", line: None },
|
||||
RegistryEntry { index: 501, name: "TMainMenu", family: "T", section: "Menus & Toolbars", section_index: 7, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "MainMenu", line: None },
|
||||
RegistryEntry { index: 502, name: "TMaskEdit", family: "T", section: "Text & Entry", section_index: 4, default_w: 180, default_h: 30, archetype: Archetype::Entry, kind: "MaskEdit", line: None },
|
||||
RegistryEntry { index: 503, name: "TMemo", family: "T", section: "Text & Entry", section_index: 4, default_w: 260, default_h: 180, archetype: Archetype::Entry, kind: "Memo", line: None },
|
||||
RegistryEntry { index: 504, name: "TNotebook", family: "T", section: "Containers & Layout", section_index: 1, default_w: 260, default_h: 180, archetype: Archetype::Container, kind: "Notebook", line: None },
|
||||
RegistryEntry { index: 505, name: "TOpenDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "OpenDialog", line: None },
|
||||
RegistryEntry { index: 506, name: "TOpenPictureDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "OpenPictureDialog", line: None },
|
||||
RegistryEntry { index: 506, name: "TOpenPictureDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 400, default_h: 240, archetype: Archetype::Dialog, kind: "OpenPictureDialog", line: None },
|
||||
RegistryEntry { index: 507, name: "TPageControl", family: "T", section: "Containers & Layout", section_index: 1, default_w: 260, default_h: 180, archetype: Archetype::Container, kind: "PageControl", line: None },
|
||||
RegistryEntry { index: 508, name: "TPageSetupDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "PageSetupDialog", line: None },
|
||||
RegistryEntry { index: 508, name: "TPageSetupDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 320, default_h: 400, archetype: Archetype::Dialog, kind: "PageSetupDialog", line: None },
|
||||
RegistryEntry { index: 509, name: "TPaintBox", family: "T", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "PaintBox", line: None },
|
||||
RegistryEntry { index: 510, name: "TPairSplitter", family: "T", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "PairSplitter", line: None },
|
||||
RegistryEntry { index: 511, name: "TPanel", family: "T", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Panel", line: None },
|
||||
RegistryEntry { index: 512, name: "TPopupMenu", family: "T", section: "Menus & Toolbars", section_index: 7, default_w: 200, default_h: 90, archetype: Archetype::ListSel, kind: "PopupMenu", line: None },
|
||||
RegistryEntry { index: 513, name: "TPopupNotifier", family: "T", section: "Menus & Toolbars", section_index: 7, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "PopupNotifier", line: None },
|
||||
RegistryEntry { index: 514, name: "TPrintDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "PrintDialog", line: None },
|
||||
RegistryEntry { index: 514, name: "TPrintDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 320, default_h: 300, archetype: Archetype::Dialog, kind: "PrintDialog", line: None },
|
||||
RegistryEntry { index: 515, name: "TPrinterSetupDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "PrinterSetupDialog", line: None },
|
||||
RegistryEntry { index: 516, name: "TProgressBar", family: "T", section: "Display", section_index: 3, default_w: 180, default_h: 30, archetype: Archetype::Range, kind: "ProgressBar", line: None },
|
||||
RegistryEntry { index: 517, name: "TRadioButton", family: "T", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Toggle, kind: "RadioButton", line: None },
|
||||
RegistryEntry { index: 518, name: "TRadioGroup", family: "T", section: "Views & Lists", section_index: 6, default_w: 150, default_h: 36, archetype: Archetype::ListSel, kind: "RadioGroup", line: None },
|
||||
RegistryEntry { index: 519, name: "TReplaceDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "ReplaceDialog", line: None },
|
||||
RegistryEntry { index: 519, name: "TReplaceDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 360, default_h: 260, archetype: Archetype::Dialog, kind: "ReplaceDialog", line: None },
|
||||
RegistryEntry { index: 520, name: "TSaveDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "SaveDialog", line: None },
|
||||
RegistryEntry { index: 521, name: "TSavePictureDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "SavePictureDialog", line: None },
|
||||
RegistryEntry { index: 521, name: "TSavePictureDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 400, default_h: 240, archetype: Archetype::Dialog, kind: "SavePictureDialog", line: None },
|
||||
RegistryEntry { index: 522, name: "TScrollBar", family: "T", section: "Containers & Layout", section_index: 1, default_w: 180, default_h: 30, archetype: Archetype::Range, kind: "ScrollBar", line: None },
|
||||
RegistryEntry { index: 523, name: "TScrollBox", family: "T", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "ScrollBox", line: None },
|
||||
RegistryEntry { index: 524, name: "TSelectDirectoryDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "SelectDirectoryDialog", line: None },
|
||||
RegistryEntry { index: 524, name: "TSelectDirectoryDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 360, default_h: 260, archetype: Archetype::Dialog, kind: "SelectDirectoryDialog", line: None },
|
||||
RegistryEntry { index: 525, name: "TShape", family: "T", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "Shape", line: None },
|
||||
RegistryEntry { index: 526, name: "TShellListView", family: "T", section: "Views & Lists", section_index: 6, default_w: 260, default_h: 180, archetype: Archetype::ListSel, kind: "ShellListView", line: None },
|
||||
RegistryEntry { index: 527, name: "TShellTreeView", family: "T", section: "Views & Lists", section_index: 6, default_w: 260, default_h: 180, archetype: Archetype::ListSel, kind: "ShellTreeView", line: None },
|
||||
@@ -560,9 +560,9 @@ pub static REGISTRY: &[RegistryEntry] = &[
|
||||
RegistryEntry { index: 530, name: "TSplitter", family: "T", section: "Containers & Layout", section_index: 1, default_w: 200, default_h: 90, archetype: Archetype::Container, kind: "Splitter", line: None },
|
||||
RegistryEntry { index: 531, name: "TStaticText", family: "T", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Label, kind: "StaticText", line: None },
|
||||
RegistryEntry { index: 532, name: "TStatusBar", family: "T", section: "Display", section_index: 3, default_w: 180, default_h: 30, archetype: Archetype::Container, kind: "StatusBar", line: None },
|
||||
RegistryEntry { index: 533, name: "TStringGrid", family: "T", section: "Views & Lists", section_index: 6, default_w: 260, default_h: 180, archetype: Archetype::Container, kind: "StringGrid", line: None },
|
||||
RegistryEntry { index: 533, name: "TStringGrid", family: "T", section: "Views & Lists", section_index: 6, default_w: 360, default_h: 200, archetype: Archetype::Container, kind: "StringGrid", line: None },
|
||||
RegistryEntry { index: 534, name: "TTabControl", family: "T", section: "Containers & Layout", section_index: 1, default_w: 260, default_h: 180, archetype: Archetype::ListSel, kind: "TabControl", line: None },
|
||||
RegistryEntry { index: 535, name: "TTaskDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 300, default_h: 220, archetype: Archetype::Dialog, kind: "TaskDialog", line: None },
|
||||
RegistryEntry { index: 535, name: "TTaskDialog", family: "T", section: "Windows & Dialogs", section_index: 0, default_w: 340, default_h: 280, archetype: Archetype::Dialog, kind: "TaskDialog", line: None },
|
||||
RegistryEntry { index: 536, name: "TTimeEdit", family: "T", section: "Display", section_index: 3, default_w: 180, default_h: 30, archetype: Archetype::Entry, kind: "TimeEdit", line: None },
|
||||
RegistryEntry { index: 537, name: "TTimer", family: "T", section: "Display", section_index: 3, default_w: 200, default_h: 90, archetype: Archetype::Display, kind: "Timer", line: None },
|
||||
RegistryEntry { index: 538, name: "TToggleBox", family: "T", section: "Buttons", section_index: 2, default_w: 150, default_h: 36, archetype: Archetype::Toggle, kind: "ToggleBox", line: None },
|
||||
|
||||
Reference in new issue
Block a user