mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-23 13:25:27 +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
|
// Setup stack model
|
||||||
viewStack->setFont(Config()->getFont());
|
viewStack->setFont(Config()->getFont());
|
||||||
viewStack->setModel(modelStack);
|
viewStack->setModel(modelStack);
|
||||||
|
viewStack->verticalHeader()->setSectionResizeMode(QHeaderView::Stretch);
|
||||||
viewStack->verticalHeader()->hide();
|
viewStack->verticalHeader()->hide();
|
||||||
|
viewStack->setShowGrid(false);
|
||||||
viewStack->setSortingEnabled(true);
|
viewStack->setSortingEnabled(true);
|
||||||
viewStack->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
viewStack->setHorizontalScrollMode(QAbstractItemView::ScrollPerPixel);
|
||||||
ui->verticalLayout->addWidget(viewStack);
|
ui->verticalLayout->addWidget(viewStack);
|
||||||
|
Loading…
Reference in New Issue
Block a user