summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/urlbar.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/urlbar.cpp b/src/urlbar.cpp
index d2ab66d0..2adfcd17 100644
--- a/src/urlbar.cpp
+++ b/src/urlbar.cpp
@@ -61,7 +61,7 @@ UrlBar::UrlBar(QWidget *parent)
setAutoDeleteCompletionObject(true);
//cosmetic
- setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
+ setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
setMinimumWidth(180);
setTrapReturnKey(true);
@@ -338,4 +338,5 @@ void UrlBar::keyPressEvent(QKeyEvent *event)
}
KHistoryComboBox::keyPressEvent(event);
-} \ No newline at end of file
+}
+