aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcin <z.krzysztoff7@gmail.com>2014-07-17 14:09:11 +0200
committermarcin <z.krzysztoff7@gmail.com>2014-07-17 14:09:11 +0200
commitce7e7fd38ac96b80f560e1a820e09b1c69d791c6 (patch)
treefa619a2e40b3e9a8e3c06b2369f7aac04e7c83e2
parentc26e1376db5e10a02d8cd492188ba52390d4d66d (diff)
downloadmonzero-gui-ce7e7fd38ac96b80f560e1a820e09b1c69d791c6.tar.gz
monzero-gui-ce7e7fd38ac96b80f560e1a820e09b1c69d791c6.tar.xz
monzero-gui-ce7e7fd38ac96b80f560e1a820e09b1c69d791c6.zip
https://trello.com/c/FEErSzDM/49-history-page-works-wrong-when-window-size-is-changing
-rw-r--r--pages/History.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/pages/History.qml b/pages/History.qml
index 528b34db..4cdf17a0 100644
--- a/pages/History.qml
+++ b/pages/History.qml
@@ -147,7 +147,7 @@ Rectangle {
text: qsTr("<style type='text/css'>a {text-decoration: none; color: #6B0072; font-size: 14px;}</style>\
looking for <a href='#'>Advance filtering?</a>")
font.underline: false
- onLinkActivated: tableRect.height = tableRect.collapsedHeight
+ onLinkActivated: tableRect.height = Qt.binding(function(){ return tableRect.collapsedHeight })
}
Label {
@@ -245,7 +245,7 @@ Rectangle {
anchors.fill: parent
onClicked: {
parent.expanded = !parent.expanded
- tableRect.height = parent.expanded ? tableRect.expandedHeight : tableRect.middleHeight
+ tableRect.height = Qt.binding(function(){ return parent.expanded ? tableRect.expandedHeight : tableRect.middleHeight })
}
}
}