From 51a79c89acfffd590c038b08b25f42500ac9dd3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=A4rkl?= Date: Sat, 3 Feb 2018 20:27:00 +0100 Subject: [PATCH] Adjust Omnibar size and padding #290 --- src/widgets/Omnibar.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/widgets/Omnibar.cpp b/src/widgets/Omnibar.cpp index 778ee784..1b62aa0c 100644 --- a/src/widgets/Omnibar.cpp +++ b/src/widgets/Omnibar.cpp @@ -13,10 +13,9 @@ Omnibar::Omnibar(MainWindow *main, QWidget *parent) : { // QLineEdit basic features this->setMinimumHeight(16); - this->setMaximumHeight(16); this->setFrame(false); - this->setPlaceholderText("Type flag name or address here"); - this->setStyleSheet("border-radius: 5px;"); + this->setPlaceholderText(tr("Type flag name or address here")); + this->setStyleSheet("border-radius: 5px; padding: 0 8px; margin: 5px 0;"); this->setTextMargins(10, 0, 0, 0); this->setClearButtonEnabled(true);