Fix RoomHeader buttons not taking enough height

This commit is contained in:
miruka 2019-05-12 21:29:52 -04:00
parent fa12d3f4ec
commit 7e44134dfc

View File

@ -60,25 +60,16 @@ HRectangle {
Row {
id: viewButtons
Layout.preferredWidth: collapseButtons ? 0 : implicitWidth
Layout.fillHeight: true
HButton {
iconName: "room_view_members"
}
HButton {
iconName: "room_view_files"
}
HButton {
iconName: "room_view_notifications"
}
HButton {
iconName: "room_view_history"
}
HButton {
iconName: "room_view_settings"
Repeater {
model: [
"members", "files", "notifications", "history", "settings"
]
HButton {
iconName: "room_view_" + modelData
iconDimension: 22
}
}
Behavior on Layout.preferredWidth {