Commit e378bce7 authored by Rohit Yadav's avatar Rohit Yadav
Browse files

MainWindow GUI: Set zoom qslider layout.

More groove in a slider means more quantity, in this case the zoom level.
parent c95b4fe5
......@@ -398,6 +398,7 @@ MainWindow::createStatusBar()
// Zoom slider
m_zoomSlider = new QSlider( this );
m_zoomSlider->setOrientation( Qt::Horizontal );
m_zoomSlider->setLayoutDirection( Qt::LeftToRight );
m_zoomSlider->setTickInterval( 1 );
m_zoomSlider->setSingleStep( 1 );
m_zoomSlider->setPageStep( 1 );
......@@ -405,7 +406,6 @@ MainWindow::createStatusBar()
m_zoomSlider->setMaximum( 13 );
m_zoomSlider->setValue( 10 );
m_zoomSlider->setFixedWidth( 80 );
m_zoomSlider->setInvertedAppearance( true );
m_ui.statusbar->addPermanentWidget( m_zoomSlider );
// Zoom IN
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment