# HG changeset patch # User sl # Date 1401377106 -7200 # Node ID aa257fdcd093dea4908fa42349570a2a6bc92719 # Parent 35f01a0d460a2a94f9a4204ebdd0c3320492dfdf Hacking around our UI so that our frame display window remains inside our app. diff -r 35f01a0d460a -r aa257fdcd093 DisplayTab.qml --- a/DisplayTab.qml Thu May 29 15:47:51 2014 +0200 +++ b/DisplayTab.qml Thu May 29 17:25:06 2014 +0200 @@ -120,7 +120,8 @@ anchors.margins: 8 anchors.right: parent.right anchors.top: parent.top - anchors.bottom: parent.bottom + //anchors.bottom: parent.bottom-parent.height/2 + height:parent.height/2 // orientation: Qt.Vertical minimumValue: display.minBrightness diff -r 35f01a0d460a -r aa257fdcd093 TestsTab.qml --- a/TestsTab.qml Thu May 29 15:47:51 2014 +0200 +++ b/TestsTab.qml Thu May 29 17:25:06 2014 +0200 @@ -6,6 +6,7 @@ Item { + id: testTab //width: 100 //height: 62 //SystemPalette { id: palette } @@ -25,8 +26,11 @@ signal timeout //! [splash-properties] //! [screen-properties] - x: (Screen.width - rectangleScreen.width) / 2 - y: (Screen.height - rectangleScreen.height) / 2 + //x: (Screen.width - rectangleScreen.width) / 2 + //y: (Screen.height - rectangleScreen.height) / 2 + x: appWindow.x+appWindow.width-256-13 + y: appWindow.y+appWindow.height-64-30 + //! [screen-properties] width: rectangleScreen.width height: rectangleScreen.height diff -r 35f01a0d460a -r aa257fdcd093 main.qml --- a/main.qml Thu May 29 15:47:51 2014 +0200 +++ b/main.qml Thu May 29 17:25:06 2014 +0200 @@ -14,6 +14,8 @@ visible: true width: 640 height: 480 + minimumWidth: 400 + minimumHeight: 400 title: qsTr("MiniDisplay Manager") SystemPalette { id: palette } //Component.onCompleted: progressBar.visible=tabViewMain.getTab(tabViewMain.currentIndex).status !== Loader.Ready