diff options
author | kamathmanu <manuriddle@gmail.com> | 2021-08-01 19:14:54 -0400 |
---|---|---|
committer | kamathmanu <manuriddle@gmail.com> | 2021-08-07 17:00:28 -0400 |
commit | f5ee1e84b5e813bb7a98e4c92cf6648da2eb6fac (patch) | |
tree | 59f9f6cb2663254307e5d34844d3f11d089c0335 | |
parent | Linted code (diff) | |
download | nheko-f5ee1e84b5e813bb7a98e4c92cf6648da2eb6fac.tar.xz |
Padding for search bar
-rw-r--r-- | resources/qml/RoomDirectory.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/qml/RoomDirectory.qml b/resources/qml/RoomDirectory.qml index e6fc2b84..7298a7cd 100644 --- a/resources/qml/RoomDirectory.qml +++ b/resources/qml/RoomDirectory.qml @@ -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() |