mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
parent
6273c1f66d
commit
3c43a01ba2
@ -630,6 +630,8 @@ GuiView::GuiView(int id)
|
||||
QFontMetrics const fm(statusBar()->fontMetrics());
|
||||
|
||||
zoom_slider_ = new QSlider(Qt::Horizontal, statusBar());
|
||||
// Small size slider for macOS to prevent the status bar from enlarging
|
||||
zoom_slider_->setAttribute(Qt::WA_MacSmallSize);
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 11, 0))
|
||||
zoom_slider_->setFixedWidth(fm.horizontalAdvance('x') * 15);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user