mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-21 21:25:52 +02:00
* Fixed size for the search widget.
This commit is contained in:
@@ -52,14 +52,13 @@ QSearchField::QSearchField(QWidget *parent) : QWidget(parent)
|
|||||||
setContentsMargins(0, 0, 0, 0);
|
setContentsMargins(0, 0, 0, 0);
|
||||||
|
|
||||||
lineEdit->setStyleSheet( "QLineEdit { border: 1px solid gray; border-radius: 6px; }" );
|
lineEdit->setStyleSheet( "QLineEdit { border: 1px solid gray; border-radius: 6px; }" );
|
||||||
|
lineEdit->setMinimumHeight(27);
|
||||||
|
setFixedHeight(27);
|
||||||
|
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
lineEdit->setContentsMargins(0, 0, 0, 0);
|
lineEdit->setContentsMargins(0, 0, 0, 0);
|
||||||
lineEdit->setMinimumHeight(27);
|
|
||||||
setFixedHeight(27);
|
|
||||||
#else
|
#else
|
||||||
lineEdit->setContentsMargins(2, 2, 2, 2);
|
lineEdit->setContentsMargins(2, 2, 2, 2);
|
||||||
lineEdit->setMinimumHeight(27);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user