From c5700a5a0731825ca4de747524e21434080bb45f Mon Sep 17 00:00:00 2001 From: Ay1nDas Date: Sat, 1 Nov 2025 14:05:33 +0530 Subject: [PATCH] Fix Menubar font size not adjusting with the font scale slider Add menubar UI component 'CSSOStringStream os'. Now menubar font size is changed with rest of the UI. Fixes https://gitlab.com/inkscape/inkscape/-/issues/5714 --- src/ui/themes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/themes.cpp b/src/ui/themes.cpp index 76bc4890c9..0a63c4eea4 100644 --- a/src/ui/themes.cpp +++ b/src/ui/themes.cpp @@ -603,7 +603,7 @@ void ThemeContext::adjustGlobalFontScale(double factor) { Inkscape::CSSOStringStream os; os.precision(3); - os << "widget, menuitem, popover, box { font-size: " << factor << "rem; }\n"; + os << "widget, menubar, menuitem, popover, box { font-size: " << factor << "rem; }\n"; os << ".mono-font {"; auto desc = getMonospacedFont(); -- GitLab