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

View File

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