From 6c593eeb1ce56a0650b119f9cdb417dfd7a95be7 Mon Sep 17 00:00:00 2001 From: Hakan Seven Date: Tue, 16 Jun 2026 23:45:40 +0300 Subject: [PATCH] fix(ui): widen Text Style modal to fit the TTF font panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/app/view.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/app/view.rs b/src/app/view.rs index a308d6dfc..a0aa8841b 100644 --- a/src/app/view.rs +++ b/src/app/view.rs @@ -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 => {