Browse Source

debug modal dialog UI correction

cl-refactor
yann300 10 years ago
parent
commit
803b47161e
  1. 21
      mix/qml/Debugger.qml

21
mix/qml/Debugger.qml

@ -7,7 +7,9 @@ import "js/Debugger.js" as Debugger
Rectangle { Rectangle {
anchors.fill: parent; anchors.fill: parent;
color: "lightgrey"
Rectangle { Rectangle {
color: "transparent"
id: headerInfo id: headerInfo
width: parent.width width: parent.width
height: 30 height: 30
@ -30,8 +32,10 @@ Rectangle {
} }
Rectangle { Rectangle {
color: "transparent"
id: stateListContainer id: stateListContainer
focus: true focus: true
anchors.topMargin: 10
anchors.top: headerInfo.bottom anchors.top: headerInfo.bottom
anchors.left: parent.left anchors.left: parent.left
height: parent.height - 30 height: parent.height - 30
@ -39,7 +43,7 @@ Rectangle {
ListView { ListView {
anchors.top: parent.top anchors.top: parent.top
height: parent.height * 0.55 height: parent.height * 0.60
width: 200 width: 200
anchors.horizontalCenter: parent.horizontalCenter anchors.horizontalCenter: parent.horizontalCenter
id: statesList id: statesList
@ -65,7 +69,7 @@ Rectangle {
id: renderDelegate id: renderDelegate
Item { Item {
id: wrapperItem id: wrapperItem
height:20 height: 20
width: parent.width width: parent.width
Text { Text {
anchors.centerIn: parent anchors.centerIn: parent
@ -76,13 +80,14 @@ Rectangle {
} }
Rectangle { Rectangle {
id: callStackPanel
anchors.top: statesList.bottom anchors.top: statesList.bottom
height: parent.height * 0.30 height: parent.height * 0.35
width: parent.width width: parent.width
anchors.topMargin: 13
color: "transparent"
Label { Label {
id: callStackLabel id: callStackLabel
anchors.top: statesList.bottom
anchors.bottomMargin: 10 anchors.bottomMargin: 10
horizontalAlignment: "AlignHCenter" horizontalAlignment: "AlignHCenter"
font.family: "Verdana" font.family: "Verdana"
@ -113,6 +118,7 @@ Rectangle {
} }
Rectangle { Rectangle {
color: "transparent"
anchors.topMargin: 5 anchors.topMargin: 5
anchors.bottomMargin: 10 anchors.bottomMargin: 10
anchors.rightMargin: 10 anchors.rightMargin: 10
@ -127,7 +133,7 @@ Rectangle {
anchors.top: parent.top anchors.top: parent.top
width: parent.width width: parent.width
height: parent.height * 0.25 height: parent.height * 0.25
color: "transparent"
Label { Label {
horizontalAlignment: "AlignHCenter" horizontalAlignment: "AlignHCenter"
font.family: "Verdana" font.family: "Verdana"
@ -155,6 +161,7 @@ Rectangle {
anchors.top: debugStack.bottom anchors.top: debugStack.bottom
width: parent.width width: parent.width
height: parent.height * 0.25 height: parent.height * 0.25
color: "transparent"
Label { Label {
horizontalAlignment: "AlignHCenter" horizontalAlignment: "AlignHCenter"
font.family: "Verdana" font.family: "Verdana"
@ -182,6 +189,7 @@ Rectangle {
anchors.top: debugMemory.bottom anchors.top: debugMemory.bottom
width: parent.width width: parent.width
height: parent.height * 0.25 height: parent.height * 0.25
color: "transparent"
Label { Label {
horizontalAlignment: "AlignHCenter" horizontalAlignment: "AlignHCenter"
font.family: "Verdana" font.family: "Verdana"
@ -209,6 +217,7 @@ Rectangle {
anchors.top: debugStorage.bottom anchors.top: debugStorage.bottom
width: parent.width width: parent.width
height: parent.height * 0.25 height: parent.height * 0.25
color: "transparent"
Label { Label {
horizontalAlignment: "AlignHCenter" horizontalAlignment: "AlignHCenter"
font.family: "Verdana" font.family: "Verdana"

Loading…
Cancel
Save