fix(ui): widen Text Style modal to fit the TTF font panel
The Text Style editor gained a system-font (TTF) column in the Plan B / web-fonts work, so its content no longer fits the old 620px width. Size the modal to 860×480 so all panels show. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
28232f1247
commit
6c593eeb1c
1 changed files with 4 additions and 2 deletions
|
|
@ -1198,8 +1198,10 @@ impl OpenCADStudio {
|
||||||
rename_active: self.style_rename.as_deref(),
|
rename_active: self.style_rename.as_deref(),
|
||||||
rename_buf: &self.style_rename_buf,
|
rename_buf: &self.style_rename_buf,
|
||||||
}),
|
}),
|
||||||
620,
|
// Wider than the old 620 window: the TTF system-font panel
|
||||||
460,
|
// (Plan B / web fonts) added a column.
|
||||||
|
860,
|
||||||
|
480,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
super::ModalKind::MlStyle => {
|
super::ModalKind::MlStyle => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue