sidebar text improvements

This commit is contained in:
Alexandre Van de Sande 2015-02-05 17:46:41 -02:00
parent 1032d133fb
commit 87d721e85f

View file

@ -329,7 +329,11 @@ ApplicationWindow {
id: mainSplit id: mainSplit
anchors.fill: parent anchors.fill: parent
resizing: false resizing: false
handleDelegate: Item {
Rectangle {
anchors.fill: parent
}
}
function setView(view, menu) { function setView(view, menu) {
for(var i = 0; i < views.length; i++) { for(var i = 0; i < views.length; i++) {
@ -368,7 +372,6 @@ ApplicationWindow {
id: menu id: menu
Layout.minimumWidth: 192 Layout.minimumWidth: 192
Layout.maximumWidth: 192 Layout.maximumWidth: 192
border.width: 10
anchors.top: parent.top anchors.top: parent.top
Rectangle { Rectangle {
@ -418,15 +421,11 @@ ApplicationWindow {
// New App Button // New App Button
id: newAppButton id: newAppButton
visible: false visible: false
anchors { anchors.fill: parent
top: parent.top anchors.rightMargin: 8
left: parent.left
leftMargin: 6
topMargin: 9
}
border.width: 0 border.width: 0
radius: 5 radius: 5
height: 37 height: 55
width: 180 width: 180
color: "#F3F1F3" color: "#F3F1F3"
} }
@ -613,16 +612,22 @@ ApplicationWindow {
} }
} }
Text { Rectangle {
text: "ETHEREUM" height: 55
font.bold: true color: "transparent"
anchors { Text {
left: parent.left text: "ETHEREUM"
leftMargin: 5 font.bold: true
anchors {
left: parent.left
top: parent.verticalCenter
leftMargin: 16
}
color: "#AAA0A0"
} }
color: "#AAA0A0"
} }
ColumnLayout { ColumnLayout {
id: menuDefault id: menuDefault
spacing: 3 spacing: 3
@ -632,15 +637,19 @@ ApplicationWindow {
} }
} }
Rectangle {
Text { height: 55
text: "APPS" color: "transparent"
font.bold: true Text {
anchors { text: "APPS"
left: parent.left font.bold: true
leftMargin: 5 anchors {
left: parent.left
top: parent.verticalCenter
leftMargin: 16
}
color: "#AAA0A0"
} }
color: "#AAA0A0"
} }
ColumnLayout { ColumnLayout {
@ -652,16 +661,22 @@ ApplicationWindow {
} }
} }
Text { Rectangle {
text: "DEBUG" height: 55
font.bold: true color: "transparent"
anchors { Text {
left: parent.left text: "DEBUG"
leftMargin: 5 font.bold: true
anchors {
left: parent.left
top: parent.verticalCenter
leftMargin: 16
}
color: "#AAA0A0"
} }
color: "#AAA0A0"
} }
ColumnLayout { ColumnLayout {
id: menuLegacy id: menuLegacy
spacing: 3 spacing: 3
@ -682,10 +697,7 @@ ApplicationWindow {
anchors.left: menu.right anchors.left: menu.right
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.top: parent.top anchors.top: parent.top
color: "#00000000" color: "#00000000"
border.width: 10
border.color: "#00FF0F"
Rectangle { Rectangle {
id: urlPane id: urlPane