Tiny layout fix
This commit is contained in:
parent
7cdfa5f82b
commit
5c29a6086a
1 changed files with 2 additions and 5 deletions
|
|
@ -15,7 +15,7 @@ PanelWithOverlay {
|
||||||
id: notificationHistoryWinRect
|
id: notificationHistoryWinRect
|
||||||
implicitWidth: 400
|
implicitWidth: 400
|
||||||
property int maxPopupHeight: 800
|
property int maxPopupHeight: 800
|
||||||
property int minPopupHeight: 230
|
property int minPopupHeight: 210
|
||||||
property int contentHeight: headerRow.height + historyList.contentHeight + 56
|
property int contentHeight: headerRow.height + historyList.contentHeight + 56
|
||||||
implicitHeight: Math.max(Math.min(contentHeight, maxPopupHeight), minPopupHeight)
|
implicitHeight: Math.max(Math.min(contentHeight, maxPopupHeight), minPopupHeight)
|
||||||
visible: parent.visible
|
visible: parent.visible
|
||||||
|
|
@ -271,10 +271,7 @@ PanelWithOverlay {
|
||||||
Column {
|
Column {
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
spacing: 0
|
spacing: 0
|
||||||
Item {
|
|
||||||
id: topSpacer
|
|
||||||
height: (parent.height - historyList.height) / 2
|
|
||||||
}
|
|
||||||
ListView {
|
ListView {
|
||||||
id: historyList
|
id: historyList
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue