Skip to content
Snippets Groups Projects
Commit f7bf2899 authored by Capucine Berthet's avatar Capucine Berthet
Browse files

BaseModalDialog: scrollbar added when popups are too big

GitLab: #1417
Change-Id: I7b41398656269e474cbce90ace2ba1c89c5048df
parent dc7c366a
No related branches found
No related tags found
No related merge requests found
......@@ -112,12 +112,22 @@ Popup {
visible: text.length > 0
}
Loader {
id: containerSubContentLoader
JamiFlickable {
id: flickable
Layout.fillHeight: true
Layout.preferredHeight: Math.min(contentHeight, root.height)
Layout.preferredWidth: contentItem.childrenRect.width
Layout.rightMargin: popupMargins
Layout.alignment: Qt.AlignCenter
Layout.maximumWidth: maximumPopupWidth - 2 * popupMargins
contentHeight: contentItem.childrenRect.height
contentItem.children: Loader {
id: containerSubContentLoader
}
ScrollBar.horizontal.visible: false
}
DialogButtonBox {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment