forked from 1b-agent/opencadstudio-upstream
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 <[email protected]>
This commit is contained in:
1 parent
28232f1247
commit
6c593eeb1c
1 file changed
+4
-2
+4
-2
@@ -1198,8 +1198,10 @@ impl OpenCADStudio {
|
||||
rename_active: self.style_rename.as_deref(),
|
||||
rename_buf: &self.style_rename_buf,
|
||||
}),
|
||||
620,
|
||||
460,
|
||||
// Wider than the old 620 window: the TTF system-font panel
|
||||
// (Plan B / web fonts) added a column.
|
||||
860,
|
||||
480,
|
||||
)
|
||||
}
|
||||
super::ModalKind::MlStyle => {
|
||||
|
||||
Reference in new issue
Block a user