Task 3: TFontDialog height 340->420 (caption clipped)

This commit is contained in:
cnmcdee committed 2026-12-02 04:57:46 +00:00
1 parent 6ebec05c44
commit 401c65702c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ fn min_size(name: &str) -> (u16, u16) {
"TCalendarDialog" => (320, 280),
"TColorDialog" => (520, 300),
"TFindDialog" => (380, 260),
"TFontDialog" => (320, 340),
"TFontDialog" => (320, 420),
"TOpenPictureDialog" => (480, 240),
"TPageSetupDialog" => (320, 400),
"TPrintDialog" => (320, 300),
+1 -1
View File
@@ -185,7 +185,7 @@ MIN_SIZES = {
"TCalendarDialog": (320, 280),
"TColorDialog": (520, 300),
"TFindDialog": (380, 260),
"TFontDialog": (320, 340),
"TFontDialog": (320, 420),
"TOpenPictureDialog": (480, 240),
"TPageSetupDialog": (320, 400),
"TPrintDialog": (320, 300),
+1 -1
View File
@@ -517,7 +517,7 @@ pub static REGISTRY: &[RegistryEntry] = &[
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: 320, default_h: 340, 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: 420, 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 },