mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-21 04:16:12 +00:00
* Fix horizontal scrolling in stack widget
This commit is contained in:
parent
d652241ec2
commit
886f3f1746
@ -20,6 +20,7 @@ StackWidget::StackWidget(MainWindow *main, QAction *action) :
|
|||||||
viewStack->setModel(modelStack);
|
viewStack->setModel(modelStack);
|
||||||
viewStack->verticalHeader()->hide();
|
viewStack->verticalHeader()->hide();
|
||||||
viewStack->setSortingEnabled(true);
|
viewStack->setSortingEnabled(true);
|
||||||
|
viewStack->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||||
ui->verticalLayout->addWidget(viewStack);
|
ui->verticalLayout->addWidget(viewStack);
|
||||||
|
|
||||||
connect(Core(), &CutterCore::refreshAll, this, &StackWidget::updateContents);
|
connect(Core(), &CutterCore::refreshAll, this, &StackWidget::updateContents);
|
||||||
|
Loading…
Reference in New Issue
Block a user