mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 19:52:26 +02:00
Fix up Running Scripts dialog
This commit is contained in:
parent
f88eef7549
commit
1eb6fa425c
2 changed files with 15 additions and 3 deletions
|
@ -14,5 +14,5 @@ import "../styles-uit"
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
width: 1 // Must be non-zero
|
width: 1 // Must be non-zero
|
||||||
height: hifi.dimensions.contentSpacing.y
|
height: hifi.dimensions.controlInterlineHeight
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,7 +24,7 @@ Window {
|
||||||
resizable: true
|
resizable: true
|
||||||
destroyOnInvisible: true
|
destroyOnInvisible: true
|
||||||
x: 40; y: 40
|
x: 40; y: 40
|
||||||
implicitWidth: 384; implicitHeight: 640
|
implicitWidth: 400; implicitHeight: 695
|
||||||
minSize: Qt.vector2d(200, 300)
|
minSize: Qt.vector2d(200, 300)
|
||||||
|
|
||||||
HifiConstants { id: hifi }
|
HifiConstants { id: hifi }
|
||||||
|
@ -91,6 +91,8 @@ Window {
|
||||||
name: "Currently Running"
|
name: "Currently Running"
|
||||||
isFirst: true
|
isFirst: true
|
||||||
|
|
||||||
|
HifiControls.VerticalSpacer {}
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
spacing: hifi.dimensions.contentSpacing.x
|
spacing: hifi.dimensions.contentSpacing.x
|
||||||
|
|
||||||
|
@ -107,6 +109,8 @@ Window {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HifiControls.VerticalSpacer {}
|
||||||
|
|
||||||
HifiControls.Table {
|
HifiControls.Table {
|
||||||
tableModel: runningScriptsModel
|
tableModel: runningScriptsModel
|
||||||
height: 185
|
height: 185
|
||||||
|
@ -116,13 +120,15 @@ Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
HifiControls.VerticalSpacer {
|
HifiControls.VerticalSpacer {
|
||||||
height: 4
|
height: 2 // Table view draws a little taller than it's height.
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
HifiControls.ContentSection {
|
HifiControls.ContentSection {
|
||||||
name: "Load Scripts"
|
name: "Load Scripts"
|
||||||
|
|
||||||
|
HifiControls.VerticalSpacer {}
|
||||||
|
|
||||||
Row {
|
Row {
|
||||||
spacing: hifi.dimensions.contentSpacing.x
|
spacing: hifi.dimensions.contentSpacing.x
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
|
@ -165,6 +171,8 @@ Window {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HifiControls.VerticalSpacer {}
|
||||||
|
|
||||||
HifiControls.TextField {
|
HifiControls.TextField {
|
||||||
id: filterEdit
|
id: filterEdit
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
@ -176,6 +184,8 @@ Window {
|
||||||
Component.onCompleted: scriptsModel.filterRegExp = new RegExp("^.*$", "i")
|
Component.onCompleted: scriptsModel.filterRegExp = new RegExp("^.*$", "i")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HifiControls.VerticalSpacer {}
|
||||||
|
|
||||||
HifiControls.Tree {
|
HifiControls.Tree {
|
||||||
id: treeView
|
id: treeView
|
||||||
height: 155
|
height: 155
|
||||||
|
@ -185,6 +195,8 @@ Window {
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HifiControls.VerticalSpacer {}
|
||||||
|
|
||||||
HifiControls.TextField {
|
HifiControls.TextField {
|
||||||
id: selectedScript
|
id: selectedScript
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|
Loading…
Reference in a new issue