mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
ExtendedTableWidget: Always scroll per pixel horizonzally
Always use per pixel scrolling when scrolling in horizontal direction. This changes the scrolling in the SqlExecutionArea and makes some settings in the MainWindow dispensable.
This commit is contained in:
@@ -10,6 +10,8 @@
|
||||
ExtendedTableWidget::ExtendedTableWidget(QWidget* parent) :
|
||||
QTableView(parent)
|
||||
{
|
||||
setHorizontalScrollMode(ExtendedTableWidget::ScrollPerPixel);
|
||||
|
||||
connect(verticalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(vscrollbarChanged(int)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user