Better defined maximum sizes for the panes
This commit is contained in:
parent
535e380f40
commit
5857f4e398
|
@ -44,9 +44,7 @@ Drawer {
|
|||
|
||||
property int minimumSize: resizeAreaSize
|
||||
property int maximumSize:
|
||||
horizontal ?
|
||||
referenceSizeParent.width - theme.minimumSupportedWidth :
|
||||
referenceSizeParent.height - theme.minimumSupportedHeight
|
||||
horizontal ? referenceSizeParent.width : referenceSizeParent.height
|
||||
|
||||
//
|
||||
|
||||
|
|
|
@ -53,9 +53,11 @@ Item {
|
|||
HLoader {
|
||||
id: roomPaneLoader
|
||||
active: ready
|
||||
|
||||
sourceComponent: RoomPane {
|
||||
id: roomPane
|
||||
referenceSizeParent: chat
|
||||
maximumSize: chat.width - theme.minimumSupportedWidth
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,7 +31,6 @@ HPage {
|
|||
id: eventList
|
||||
|
||||
// Avoid a certain binding loop
|
||||
Layout.minimumWidth: theme.minimumSupportedWidth
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
}
|
||||
|
|
|
@ -70,6 +70,7 @@ Item {
|
|||
|
||||
MainPane {
|
||||
id: mainPane
|
||||
maximumSize: parent.width - theme.minimumSupportedWidth
|
||||
}
|
||||
|
||||
PageLoader {
|
||||
|
|
Loading…
Reference in New Issue
Block a user