]> git.lyx.org Git - features.git/commitdiff
Remove zoom slider ticks
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Mar 2021 15:32:22 +0000 (16:32 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Mar 2021 16:24:19 +0000 (17:24 +0100)
This doesn't align well

src/frontends/qt/GuiView.cpp

index 679d84df3e71a3eca8a9bc13cd97d196563b3bd7..13e75ada11a77f12112b7e0168f03182cae8dfd7 100644 (file)
@@ -648,8 +648,6 @@ GuiView::GuiView(int id)
                zoom = zoom_min_;
        zoom_slider_->setValue(zoom);
        zoom_slider_->setToolTip(qt_("Workarea zoom level. Drag, use Ctrl-+/- or Shift-Mousewheel to adjust."));
-       zoom_slider_->setTickPosition(QSlider::TicksBelow);
-       zoom_slider_->setTickInterval(lyxrc.defaultZoom - 10);
 
        // Buttons to change zoom stepwise
        zoom_in_ = new QPushButton(statusBar());