Padding for search bar

This commit is contained in:
kamathmanu 2021-08-01 19:14:54 -04:00
parent 04d0d413e3
commit f5ee1e84b5
1 changed files with 2 additions and 2 deletions

View File

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