Skip to content

Commit

Permalink
fix: scroll bar covers the content
Browse files Browse the repository at this point in the history
  • Loading branch information
zsien committed Feb 1, 2024
1 parent 8c543ae commit 92068b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/widgetstore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ QScrollArea *WidgetStore::scrollView()
auto scrollArea = new QScrollArea();

scrollArea->setObjectName(QString("WidgetStore"));
scrollArea->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Expanding);
scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
QPalette pt = scrollArea->palette();
pt.setColor(QPalette::Window, Qt::transparent);
Expand Down

0 comments on commit 92068b1

Please sign in to comment.