Skip to content

Commit

Permalink
force tab widget to use scroll buttons
Browse files Browse the repository at this point in the history
by default it is style dependent
  • Loading branch information
3nids committed Mar 23, 2020
1 parent 44bf367 commit 0e215c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/gui/qgstextformatwidget.cpp
Expand Up @@ -505,6 +505,8 @@ void QgsTextFormatWidget::initWidget()


// set correct initial tab to match displayed setting page // set correct initial tab to match displayed setting page
whileBlocking( mOptionsTab )->setCurrentIndex( mLabelStackedWidget->currentIndex() ); whileBlocking( mOptionsTab )->setCurrentIndex( mLabelStackedWidget->currentIndex() );
mOptionsTab->tabBar()->setUsesScrollButtons( true );



if ( mMapCanvas ) if ( mMapCanvas )
{ {
Expand Down

0 comments on commit 0e215c3

Please sign in to comment.