mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-31 16:47:26 +00:00
Adjust Omnibar size and padding #290
This commit is contained in:
parent
ba3f655a9f
commit
51a79c89ac
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user