Commit a267259b authored by Huon Imberger's avatar Huon Imberger Committed by Henrik Fehlauer

Fix URL Navigator margins

Summary:
The URL navigator was slightly narrower than full width until you
went to fullscreen and back, at which point it fixed itself. This
was because the fullscreen toolbars were visible on app launch,
but hidden when exiting fullscreen.

This patch simply hides them at launch.

Left before:
{F5731798, size=full}

Left after:
{F5731799, size=full}

Right before:
{F5731800, size=full}

Right after:
{F5731801, size=full}

Test Plan:
Open Gwenview. The left and right of the URL Navigator in {nav Browse}
should be flush with the edge (see screenshots).

Reviewers: #gwenview, rkflx

Reviewed By: #gwenview, rkflx

Differential Revision: https://phabricator.kde.org/D10881
parent 3e1680dc
......@@ -101,6 +101,10 @@ struct BrowseMainPagePrivate : public Ui_BrowseMainPage
q, SLOT(slotUrlsDropped(QUrl,QDropEvent*)));
updateUrlNavigatorBackgroundColor();
// FullScreen Toolbar
mFullScreenToolBar->setVisible(false);
mFullScreenToolBar2->setVisible(false);
// Thumbnail slider
QObject::connect(mThumbnailSlider, SIGNAL(valueChanged(int)),
mThumbnailView, SLOT(setThumbnailWidth(int)));
......
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