Skip to content

Commit af07391

Browse files
committed
wip
1 parent 43e769a commit af07391

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugins/Qt/qt_tm_widget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1127,7 +1127,7 @@ qt_tm_widget_rep::install_main_menu () {
11271127
double scale= dpi / 96.0;
11281128
cout << "scale (DPI-based): " << scale << " (dpi: " << dpi << ")" << LF;
11291129

1130-
int h= (int) floor (36 * scale + 0.5);
1130+
int h= (int) floor (72 * scale + 0.5);
11311131
#else
11321132
double scale= screen ? screen->devicePixelRatio () : 1.0; // 正确的屏幕缩放比
11331133
cout << "scale (DPI-based): " << scale << LF;

0 commit comments

Comments
 (0)