Skip to content

Commit

Permalink
Advanced settings widget should scroll by pixel not row, as sometimes
Browse files Browse the repository at this point in the history
row values are so long that they exceed the vertical height of the widget
  • Loading branch information
nyalldawson committed Aug 2, 2021
1 parent 827bef8 commit 3c72935
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/qgssettingstree.cpp
Expand Up @@ -65,6 +65,8 @@ QgsSettingsTree::QgsSettingsTree( QWidget *parent )
header()->resizeSection( ColumnType, 100 );
header()->resizeSection( ColumnValue, 250 );

setVerticalScrollMode( QAbstractItemView::ScrollPerPixel );

mRefreshTimer.setInterval( 2000 );

mGroupIcon = QgsApplication::getThemeIcon( QStringLiteral( "mIconFolderOpen.svg" ) );
Expand Down

0 comments on commit 3c72935

Please sign in to comment.