Commit e579d49e authored by Noah Davis's avatar Noah Davis 🌵
Browse files

BrowseMainView: Make statusbar padding like ViewMainPage

parent 0a3f6809
......@@ -91,6 +91,11 @@ struct BrowseMainPagePrivate : public Ui_BrowseMainPage
setupUi(q);
q->layout()->setContentsMargins(0, 0, 0, 0);
int margins = q->style()->pixelMetric(QStyle::PM_ToolBarItemMargin)
+ q->style()->pixelMetric(QStyle::PM_ToolBarFrameWidth);
mStatusBarContainer->layout()->setContentsMargins(margins, margins, margins, margins);
mStatusBarContainer->layout()->setSpacing(q->style()->pixelMetric(QStyle::PM_ToolBarItemSpacing));
// mThumbnailView
mThumbnailView->setModel(mDirModel);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment