changes to sidebar sizes

This commit is contained in:
Alexandre Van de Sande 2015-02-23 08:52:50 -03:00
parent acd93c2971
commit bb3338df63

View File

@ -46,8 +46,13 @@ ApplicationWindow {
walletWeb.view.url = "http://ethereum-dapp-wallet.meteor.com/"; walletWeb.view.url = "http://ethereum-dapp-wallet.meteor.com/";
walletWeb.menuItem.title = "Wallet"; walletWeb.menuItem.title = "Wallet";
addPlugin("./views/wallet.qml", {noAdd: true, close: false, section: "legacy"});
addPlugin("./views/miner.qml", {noAdd: true, close: false, section: "ethereum", active: false}); addPlugin("./views/miner.qml", {noAdd: true, close: false, section: "ethereum", active: false});
var whisperTab = addPlugin("./views/browser.qml", {noAdd: true, close: true, section: "ethereum", active: false});
whisperTab.view.url = "http://ethereum-dapp-whisper-client.meteor.com/";
whisperTab.menuItem.title = "Whisper Chat";
addPlugin("./views/wallet.qml", {noAdd: true, close: false, section: "legacy"});
addPlugin("./views/transaction.qml", {noAdd: true, close: false, section: "legacy"}); addPlugin("./views/transaction.qml", {noAdd: true, close: false, section: "legacy"});
addPlugin("./views/whisper.qml", {noAdd: true, close: false, section: "legacy"}); addPlugin("./views/whisper.qml", {noAdd: true, close: false, section: "legacy"});
addPlugin("./views/chain.qml", {noAdd: true, close: false, section: "legacy"}); addPlugin("./views/chain.qml", {noAdd: true, close: false, section: "legacy"});
@ -691,17 +696,22 @@ ApplicationWindow {
} }
Rectangle { Rectangle {
height: 55 height: 19
color: "transparent" color: "transparent"
Text { Text {
text: "ETHEREUM" text: "ETHEREUM"
font.family: sourceSansPro.name font.family: sourceSansPro.name
font.weight: Font.DemiBold font.weight: Font.Regular
anchors { // anchors.top: 20
left: parent.left // anchors.left: 16
top: parent.verticalCenter anchors {
leftMargin: 16 leftMargin: 12
} topMargin: 4
fill: parent
}
// anchors.leftMargin: 16
// anchors.topMargin: 16
// anchors.verticalCenterOffset: 50
color: "#AAA0A0" color: "#AAA0A0"
} }
} }
@ -717,17 +727,20 @@ ApplicationWindow {
} }
Rectangle { Rectangle {
height: 55 height: 19
color: "transparent" color: "#00ff00"
Text { Text {
text: "APPS" text: "APPS"
font.family: sourceSansPro.name font.family: sourceSansPro.name
font.weight: Font.DemiBold font.weight: Font.Regular
anchors { anchors.fill: parent
left: parent.left anchors.leftMargin: 16
top: parent.verticalCenter
leftMargin: 16 // anchors {
} // left: parent.left
// top: parent.top
// leftMargin: 16
// }
color: "#AAA0A0" color: "#AAA0A0"
} }
} }
@ -744,6 +757,7 @@ ApplicationWindow {
Rectangle { Rectangle {
height: 55 height: 55
color: "transparent" color: "transparent"
visible:false
Text { Text {
text: "DEBUG" text: "DEBUG"
font.family: sourceSansPro.name font.family: sourceSansPro.name
@ -760,6 +774,7 @@ ApplicationWindow {
ColumnLayout { ColumnLayout {
id: menuLegacy id: menuLegacy
visible: false
spacing: 3 spacing: 3
anchors { anchors {
left: parent.left left: parent.left