History

better ui

Sam committed 7 years ago

Commit 6e2ffe11 parent 767f4132 files · +20 −12Browse files

Showing the changes to scripts/developer (2 of 2 files). Show all

Unified · Split

2 files
  1. scripts/developer/utilities/lib/jet/qml/TaskPropView.qml +2 −3
  2. scripts/developer/utilities/render/engineInspector.qml +18 −9
scripts/developer/utilities/lib/jet/qml/TaskPropView.qml+2−3
@@ -12,9 +12,6 @@ import QtQuick 2.7 · 11 unmodified lines
1212 import QtQuick.Controls 1.4 as Original
1313 import QtQuick.Controls.Styles 1.4
1414
15−import stylesUit 1.0
16−import controlsUit 1.0 as HifiControls
17−
1815 import "../../prop" as Prop
1916
2017 import "../jet.js" as Jet
@@ -23,6 +20,8 @@ Prop.PropGroup { · 2 unmodified lines
2320
2421 id: root;
2522
23+ Prop.Global { id: global;}
24+
2625 property var rootConfig : Render
2726 property var jobPath: ""
2827 property alias label: root.label
scripts/developer/utilities/render/engineInspector.qml+18−9
@@ -8,23 +8,32 @@ · 7 unmodified lines
88 // See the accompanying file LICENSE or https://www.apache.org/licenses/LICENSE-2.0.html
99 //
1010 import QtQuick 2.7
11−import QtQuick.Controls 1.4
11+import QtQuick.Controls 2.5
1212 import QtQuick.Layouts 1.3
1313
14−import stylesUit 1.0
15−import controlsUit 1.0 as HifiControls
1614
1715 import "../lib/jet/qml" as Jet
1816
1917 Item {
20− HifiConstants { id: hifi;}
18+ anchors.fill: parent
2119 id: root;
22− anchors.fill: parent
23−
20+
2421 property var rootConfig: Render.getConfig("")
2522
26− Jet.TaskPropView {
27− rootConfig: root.rootConfig
28− anchors.fill: root
23+ ScrollView {
24+ id: scrollView
25+ anchors.fill: parent
26+ contentWidth: parent.width
27+ clip: true
28+
29+ Column {
30+ anchors.left: parent.left
31+ anchors.right: parent.right
32+
33+ Jet.TaskPropView {
34+ rootConfig: root.rootConfig
35+ anchors.fill: root
36+ }
37+ }
2938 }
3039 }