Commit 48ececc9 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

Keep status bar below thumbnail bar

parent e54af37a
...@@ -96,14 +96,13 @@ const int ViewMainPage::MaxViewCount = 6; ...@@ -96,14 +96,13 @@ const int ViewMainPage::MaxViewCount = 6;
* ||+-mToolContainer------------------------------------------------+|| * ||+-mToolContainer------------------------------------------------+||
* ||| ||| * ||| |||
* ||+---------------------------------------------------------------+|| * ||+---------------------------------------------------------------+||
* ||+-mStatusBarContainer-------------------------------------------+||
* |||[mToggleSideBarButton][mToggleThumbnailBarButton] [mZoomWidget]|||
* ||+---------------------------------------------------------------+||
* |+-----------------------------------------------------------------+| * |+-----------------------------------------------------------------+|
* |===================================================================| * |===================================================================|
* |+-mThumbnailBar---------------------------------------------------+| * |+-mThumbnailBar---------------------------------------------------+|
* || || * || ||
* || || * || ||
* |+-mStatusBarContainer---------------------------------------------+|
* ||[mToggleSideBarButton][mToggleThumbnailBarButton] [mZoomWidget]||
* |+-----------------------------------------------------------------+| * |+-----------------------------------------------------------------+|
* +-------------------------------------------------------------------+ * +-------------------------------------------------------------------+
*/ */
...@@ -184,7 +183,6 @@ struct ViewMainPagePrivate ...@@ -184,7 +183,6 @@ struct ViewMainPagePrivate
mDocumentViewContainer->setBackgroundRole(QPalette::Base); mDocumentViewContainer->setBackgroundRole(QPalette::Base);
adapterContainerLayout->addWidget(mDocumentViewContainer); adapterContainerLayout->addWidget(mDocumentViewContainer);
adapterContainerLayout->addWidget(mToolContainer); adapterContainerLayout->addWidget(mToolContainer);
adapterContainerLayout->addWidget(mStatusBarContainer);
//-- //--
mThumbnailBar = new ThumbnailBarView; mThumbnailBar = new ThumbnailBarView;
ThumbnailBarItemDelegate* delegate = new ThumbnailBarItemDelegate(mThumbnailBar); ThumbnailBarItemDelegate* delegate = new ThumbnailBarItemDelegate(mThumbnailBar);
...@@ -207,6 +205,7 @@ struct ViewMainPagePrivate ...@@ -207,6 +205,7 @@ struct ViewMainPagePrivate
viewMainPageLayout->setContentsMargins(0, 0, 0, 0); viewMainPageLayout->setContentsMargins(0, 0, 0, 0);
viewMainPageLayout->setSpacing(0); viewMainPageLayout->setSpacing(0);
viewMainPageLayout->addWidget(mThumbnailSplitter); viewMainPageLayout->addWidget(mThumbnailSplitter);
viewMainPageLayout->addWidget(mStatusBarContainer);
//-- //--
mDocumentViewController = new DocumentViewController(mActionCollection, q); mDocumentViewController = new DocumentViewController(mActionCollection, q);
mDocumentViewController->setZoomWidget(mZoomWidget); mDocumentViewController->setZoomWidget(mZoomWidget);
......
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