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
Repeater {
model: [
"members", "files", "notifications", "history", "settings"
]
HButton {
iconName: "room_view_members"
iconName: "room_view_" + modelData
iconDimension: 22
}
HButton {
iconName: "room_view_files"
}
HButton {
iconName: "room_view_notifications"
}
HButton {
iconName: "room_view_history"
}
HButton {
iconName: "room_view_settings"
}
Behavior on Layout.preferredWidth {