summaryrefslogtreecommitdiff
path: root/retrace/daemon
diff options
context:
space:
mode:
authorMark Janes <mark.a.janes@intel.com>2017-12-04 17:19:53 -0800
committerMark Janes <mark.a.janes@intel.com>2017-12-04 17:19:53 -0800
commitf3a2de02a4669b8ec9d517bee141c5cb43972501 (patch)
tree8e6e8ae11f74d14c5a9af5ae54f8bcc1f9395e66 /retrace/daemon
parent6e0f31a07be0f602477e31c88637e3c38631bdb9 (diff)
MainWin: Fix incorrect height scaling of search window for HiDPI
The RefreshControl lacked a height setting, causing the main window to miscalculate the pixels needed to display the control. The height was hardcoded to work around this issue, clipping the control on HiDPI displays.
Diffstat (limited to 'retrace/daemon')
-rw-r--r--retrace/daemon/ui/qml/RefreshControl.qml1
-rw-r--r--retrace/daemon/ui/qml/mainwin.qml3
2 files changed, 1 insertions, 3 deletions
diff --git a/retrace/daemon/ui/qml/RefreshControl.qml b/retrace/daemon/ui/qml/RefreshControl.qml
index 133ba2ca..fb6308f6 100644
--- a/retrace/daemon/ui/qml/RefreshControl.qml
+++ b/retrace/daemon/ui/qml/RefreshControl.qml
@@ -6,6 +6,7 @@ import ApiTrace 1.0
Item {
property FrameRetrace metricsModel
+ height: refreshButton.height
Item {
id: metricsItem
anchors.left: parent.left
diff --git a/retrace/daemon/ui/qml/mainwin.qml b/retrace/daemon/ui/qml/mainwin.qml
index 12b3833c..1c8f371b 100644
--- a/retrace/daemon/ui/qml/mainwin.qml
+++ b/retrace/daemon/ui/qml/mainwin.qml
@@ -302,12 +302,9 @@ ApplicationWindow {
visible: false
RefreshControl {
- Layout.minimumHeight: 20
- Layout.maximumHeight: 20
metricsModel: frameRetrace
Layout.alignment: Qt.AlignTop
Layout.fillWidth: true
- Layout.fillHeight: true
}
BarGraphControl {