restarted design to squash some unkonw bug

This commit is contained in:
Alexandre Van de Sande 2015-02-02 18:40:17 -02:00
parent 6cd6a44f08
commit 89eff45bc8
2 changed files with 54 additions and 25 deletions

View file

@ -360,10 +360,21 @@ ApplicationWindow {
********************/ ********************/
Rectangle { Rectangle {
id: menu id: menu
Layout.minimumWidth: 210 Layout.minimumWidth: 192
Layout.maximumWidth: 210 Layout.maximumWidth: 192
anchors.top: parent.top anchors.top: parent.top
color: "#ececec" Rectangle {
width: parent.height
height: parent.width
anchors.centerIn: parent
rotation: 90
gradient: Gradient {
GradientStop { position: 0.0; color: "#F1ECEC" }
GradientStop { position: 0.2; color: "#FAF5F5" }
GradientStop { position: 1.0; color: "#FAF5F5" }
}
}
Component { Component {
id: menuItemTemplate id: menuItemTemplate
@ -380,8 +391,8 @@ ApplicationWindow {
sel.visible = on sel.visible = on
} }
width: 206 width: 192
height: 28 height: 55
color: "#00000000" color: "#00000000"
anchors { anchors {
@ -397,8 +408,7 @@ ApplicationWindow {
Rectangle { Rectangle {
id: r id: r
anchors.fill: parent anchors.fill: parent
border.color: "#CCCCCC" border.width: 0
border.width: 1
radius: 5 radius: 5
color: "#FFFFFFFF" color: "#FFFFFFFF"
} }
@ -410,25 +420,28 @@ ApplicationWindow {
} }
width: 10 width: 10
color: "#FFFFFFFF" color: "#FFFFFFFF"
border.width:0
Rectangle { Rectangle {
// Small line on top of selection. What's this for?
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right
top: parent.top top: parent.top
} }
height: 1 height: 1
color: "#CCCCCC" color: "#FFFFFF"
} }
Rectangle { Rectangle {
// Small line on bottom of selection. What's this for again?
anchors { anchors {
left: parent.left left: parent.left
right: parent.right right: parent.right
bottom: parent.bottom bottom: parent.bottom
} }
height: 1 height: 1
color: "#CCCCCC" color: "#FFFFFF"
} }
} }
} }
@ -442,12 +455,12 @@ ApplicationWindow {
Image { Image {
id: icon id: icon
height: 20 height: 24
width: 20 width: 24
anchors { anchors {
left: parent.left left: parent.left
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
leftMargin: 3 leftMargin: 6
} }
MouseArea { MouseArea {
anchors.fill: parent anchors.fill: parent
@ -462,11 +475,11 @@ ApplicationWindow {
anchors { anchors {
left: icon.right left: icon.right
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
leftMargin: 3 leftMargin: 6
} }
color: "#0D0A01" color: "#665F5F"
font.pixelSize: 12 font.pixelSize: 14
} }
Text { Text {
@ -476,7 +489,7 @@ ApplicationWindow {
rightMargin: 8 rightMargin: 8
verticalCenter: parent.verticalCenter verticalCenter: parent.verticalCenter
} }
color: "#AEADBE" color: "#6691C2"
font.pixelSize: 12 font.pixelSize: 12
} }
@ -541,6 +554,28 @@ ApplicationWindow {
anchors.right: parent.right anchors.right: parent.right
spacing: 3 spacing: 3
Rectangle {
// New App Button
id: newAppButton
anchors {
left: parent.left
leftMargin: 6
}
border.width: 0
radius: 5
height: 56
width: 180
color: "#F6EEEE"
Text {
text: "GO TO NEW APP"
font.bold: true
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
color: "#AAA0A0"
}
}
Text { Text {
text: "ETHEREUM" text: "ETHEREUM"
font.bold: true font.bold: true
@ -548,7 +583,7 @@ ApplicationWindow {
left: parent.left left: parent.left
leftMargin: 5 leftMargin: 5
} }
color: "#888888" color: "#AAA0A0"
} }
ColumnLayout { ColumnLayout {
@ -568,7 +603,7 @@ ApplicationWindow {
left: parent.left left: parent.left
leftMargin: 5 leftMargin: 5
} }
color: "#888888" color: "#AAA0A0"
} }
ColumnLayout { ColumnLayout {
@ -587,7 +622,7 @@ ApplicationWindow {
left: parent.left left: parent.left
leftMargin: 5 leftMargin: 5
} }
color: "#888888" color: "#AAA0A0"
} }
ColumnLayout { ColumnLayout {

View file

@ -79,11 +79,6 @@ Rectangle {
right: parent.right right: parent.right
leftMargin: 7 leftMargin: 7
} }
gradient: Gradient {
GradientStop { position: 0.0; color: "#F1ECEC" }
GradientStop { position: 0.2; color: "#FAF5F5" }
GradientStop { position: 1.0; color: "#FAF5F5" }
}
Button { Button {
id: back id: back
@ -213,4 +208,3 @@ Rectangle {
] ]
} }
} }