Skip to content

Commit 31a649a

Browse files
authored
Gui/TimeLineGui: set bold text (#1051)
Make the text more visible in the timeline. Since we moved to Qt5 the text has been very jagged, setting the QFont to bold solves the issue.
1 parent 5688775 commit 31a649a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gui/TimeLineGui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ TimeLineGui::paintGL()
361361
double screenPixelRatio = _imp->viewerTab->getViewer()->getScreenPixelRatio();
362362
if (screenPixelRatio != _imp->_screenPixelRatio) {
363363
_imp->_screenPixelRatio = screenPixelRatio;
364-
_imp->_textFont.reset(new QFont(appFont, appFontSize * screenPixelRatio));
364+
_imp->_textFont.reset(new QFont(appFont, appFontSize * screenPixelRatio, QFont::Bold));
365365
}
366366
}
367367
assert(_imp->_textFont);

0 commit comments

Comments
 (0)