Padding for search bar

This commit is contained in:
kamathmanu 2021-08-01 19:14:54 -04:00
parent 04d0d413e3
commit f5ee1e84b5

View file

@ -27,7 +27,7 @@ ApplicationWindow {
spacing: Nheko.paddingMedium spacing: Nheko.paddingMedium
width: parent.width width: parent.width
implicitHeight: roomTextInput.height implicitHeight: roomSearch.height
MatrixTextField { MatrixTextField {
id: roomSearch id: roomSearch
@ -35,7 +35,7 @@ ApplicationWindow {
Layout.fillWidth: true Layout.fillWidth: true
font.pixelSize: fontMetrics.font.pixelSize font.pixelSize: fontMetrics.font.pixelSize
padding: Nheko.paddingSmall padding: Math.ceil(1.5 * Nheko.paddingSmall)
color: Nheko.colors.text color: Nheko.colors.text
placeholderText: qsTr("Search for public rooms") placeholderText: qsTr("Search for public rooms")
onTextChanged: searchTimer.restart() onTextChanged: searchTimer.restart()