diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2011-12-23 00:17:53 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-12-23 00:17:53 +0100 |
commit | b31138623e1ec1705a9f516bf5fbc5d553089ac1 (patch) | |
tree | bf54467fc98fed16b8254b68c9c27aa8275eebd6 /src/urlbar | |
parent | Fix OpenSearchEngine crash call (diff) | |
download | rekonq-b31138623e1ec1705a9f516bf5fbc5d553089ac1.tar.xz |
Add 2px of top/bottom padding to the urlbar
REVIEW: 103479
REVIEWED-BY: fritz_van_tom
Diffstat (limited to 'src/urlbar')
-rw-r--r-- | src/urlbar/urlbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); } |