Adjust Omnibar size and padding #290

This commit is contained in:
Florian Märkl 2018-02-03 20:27:00 +01:00
parent ba3f655a9f
commit 51a79c89ac

View File

@ -13,10 +13,9 @@ Omnibar::Omnibar(MainWindow *main, QWidget *parent) :
{ {
// QLineEdit basic features // QLineEdit basic features
this->setMinimumHeight(16); this->setMinimumHeight(16);
this->setMaximumHeight(16);
this->setFrame(false); this->setFrame(false);
this->setPlaceholderText("Type flag name or address here"); this->setPlaceholderText(tr("Type flag name or address here"));
this->setStyleSheet("border-radius: 5px;"); this->setStyleSheet("border-radius: 5px; padding: 0 8px; margin: 5px 0;");
this->setTextMargins(10, 0, 0, 0); this->setTextMargins(10, 0, 0, 0);
this->setClearButtonEnabled(true); this->setClearButtonEnabled(true);