From b31138623e1ec1705a9f516bf5fbc5d553089ac1 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Fri, 23 Dec 2011 00:17:53 +0100 Subject: Add 2px of top/bottom padding to the urlbar REVIEW: 103479 REVIEWED-BY: fritz_van_tom --- src/urlbar/urlbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp index e95c5c33..83684922 100644 --- a/src/urlbar/urlbar.cpp +++ b/src/urlbar/urlbar.cpp @@ -103,7 +103,7 @@ UrlBar::UrlBar(QWidget *parent) , _suggestionTimer(new QTimer(this)) { // initial style - setStyleSheet(QString("UrlBar { padding: 0 0 0 %1px;} ").arg(_icon->sizeHint().width())); + setStyleSheet(QString("UrlBar { padding: 2px 0 2px %1px;} ").arg(_icon->sizeHint().width())); // doesn't show the clear button setClearButtonShown(false); @@ -382,7 +382,7 @@ void UrlBar::loadFinished() // removing this code (where setStyleSheet automatically calls update) needs adding again // an update call int rightIconWidth = 25 * (_rightIconsList.count()); - setStyleSheet(QString("UrlBar { padding: 0 %2px 0 %1px;} ").arg(_icon->sizeHint().width()).arg(rightIconWidth)); + setStyleSheet(QString("UrlBar { padding: 2px %2px 2px %1px;} ").arg(_icon->sizeHint().width()).arg(rightIconWidth)); } -- cgit v1.2.1