Manager: Remove the space padding from the search field label

This commit is contained in:
Alexander Babikov
2025-08-14 01:42:20 +05:00
parent 4941408b99
commit 4082054fb8
2 changed files with 2 additions and 2 deletions

View File

@@ -82,7 +82,7 @@
<enum>Qt::ClickFocus</enum>
</property>
<property name="placeholderText">
<string> Search</string>
<string>Search</string>
</property>
<property name="clearButtonEnabled">
<bool>true</bool>

View File

@@ -74,7 +74,7 @@ VMManagerMainWindow(QWidget *parent)
const auto searchBar = new QLineEdit();
searchBar->setMinimumWidth(150);
searchBar->setPlaceholderText(" " + tr("Search"));
searchBar->setPlaceholderText(tr("Search"));
searchBar->setSizePolicy(QSizePolicy::Maximum, QSizePolicy::Preferred);
searchBar->setClearButtonEnabled(true);
// Spacer to make the search go all the way to the right