Commit 83ceee68 authored by Claudio Cambra's avatar Claudio Cambra
Browse files

Limit incidence info popup to more manageable size



Signed-off-by: Claudio Cambra's avatarClaudio Cambra <claudio.cambra@gmail.com>
parent 99e7ec5a
Pipeline #236391 passed with stage
in 3 minutes and 2 seconds
......@@ -656,7 +656,7 @@ Kirigami.ApplicationWindow {
y: positionBelowIncidenceItem && openingIncidenceItem ? incidenceItemPosition.y + openingIncidenceItem.height : incidenceItemPosition.y - height;
width: Math.min(pageStack.currentItem.width, Kirigami.Units.gridUnit * 30)
height: Math.min(Kirigami.Units.gridUnit * 50, scrollView.contentHeight)
height: Math.min(Kirigami.Units.gridUnit * 16, scrollView.contentHeight)
onIncidenceDataChanged: root.openOccurrence = incidenceData
onVisibleChanged: {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment