mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 05:16:11 +00:00
Improve stack widget ui
This commit is contained in:
parent
ccd8e86052
commit
489b89dc7c
@ -19,7 +19,9 @@ StackWidget::StackWidget(MainWindow *main, QAction *action) :
|
||||
// Setup stack model
|
||||
viewStack->setFont(Config()->getFont());
|
||||
viewStack->setModel(modelStack);
|
||||
viewStack->verticalHeader()->setSectionResizeMode(QHeaderView::Stretch);
|
||||
viewStack->verticalHeader()->hide();
|
||||
viewStack->setShowGrid(false);
|
||||
viewStack->setSortingEnabled(true);
|
||||
viewStack->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||
ui->verticalLayout->addWidget(viewStack);
|
||||
|
Loading…
Reference in New Issue
Block a user