Fix RoomPane buttons background static height

This commit is contained in:
miruka 2019-12-26 10:51:41 -04:00
parent f977d9acf2
commit fc7f7256a1
2 changed files with 4 additions and 3 deletions

View File

@ -1,6 +1,5 @@
# TODO
- Make dark bar extend down pane
- Verify default size
## Media
@ -33,7 +32,6 @@
## Refactoring
- Coroutine future OR document uuid
- Account settings with `HTabbedContainer`
- Get rid of all `currentSpacing` stuff
- Use new default/reset controls system

View File

@ -19,7 +19,9 @@ HDrawer {
color: theme.chat.roomPaneButtons.background
Layout.fillWidth: true
Layout.preferredHeight: theme.baseElementsHeight
Layout.preferredHeight: buttonFlow.height
Behavior on Layout.preferredHeight { HNumberAnimation {} }
}
Rectangle {
@ -39,6 +41,7 @@ HDrawer {
anchors.fill: parent
HFlow {
id: buttonFlow
populate: null
Layout.fillWidth: true