summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-12-23 00:17:53 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-12-23 00:17:53 +0100
commitb31138623e1ec1705a9f516bf5fbc5d553089ac1 (patch)
treebf54467fc98fed16b8254b68c9c27aa8275eebd6 /src
parentFix OpenSearchEngine crash call (diff)
downloadrekonq-b31138623e1ec1705a9f516bf5fbc5d553089ac1.tar.xz
Add 2px of top/bottom padding to the urlbar
REVIEW: 103479 REVIEWED-BY: fritz_van_tom
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/urlbar.cpp4
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));
}