mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Padding for search bar
This commit is contained in:
parent
04d0d413e3
commit
f5ee1e84b5
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue