From 26ea2742591da815e16608406e5bda7a39c793f5 Mon Sep 17 00:00:00 2001 From: Janek Bevendorff Date: Sun, 3 May 2020 20:13:42 +0200 Subject: [PATCH] Fix menu menu spacing on low-DPI Windows --- src/gui/styles/base/BaseStyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/styles/base/BaseStyle.cpp b/src/gui/styles/base/BaseStyle.cpp index 6a98e5973..3997cadff 100644 --- a/src/gui/styles/base/BaseStyle.cpp +++ b/src/gui/styles/base/BaseStyle.cpp @@ -107,7 +107,7 @@ namespace Phantom constexpr qreal MenuItem_LeftMarginFontRatio = 1.0 / 2.0; constexpr qreal MenuItem_RightMarginForTextFontRatio = 1.0 / 1.5; constexpr qreal MenuItem_RightMarginForArrowFontRatio = 1.0 / 4.0; - constexpr qreal MenuItem_VerticalMarginsFontRatio = 1.0 / 8.0; + constexpr qreal MenuItem_VerticalMarginsFontRatio = 1.0 / 5.0; // Number that's multiplied with a font's height to get the space between a // menu item's checkbox (or other sign) and its text (or icon). constexpr qreal MenuItem_CheckRightSpaceFontRatio = 1.0 / 4.0;