1
mirror of https://github.com/monero-project/monero-gui synced 2025-01-01 21:56:23 +01:00

Settings page: layout items vertically

This commit is contained in:
Ilya Kitaev 2016-10-09 02:23:57 +03:00
parent 4f4cc9c8e8
commit d67071a7a4
2 changed files with 38 additions and 35 deletions

View File

@ -38,14 +38,14 @@ Rectangle {
property Item currentView property Item currentView
property bool basicMode : false property bool basicMode : false
property string balanceText
property string unlockedBalanceText
property Transfer transferView: Transfer { } property Transfer transferView: Transfer { }
property Receive receiveView: Receive { } property Receive receiveView: Receive { }
property History historyView: History { } property History historyView: History { }
property Settings settingsView: Settings { } property Settings settingsView: Settings { }
property string balanceText
property string unlockedBalanceText
signal paymentClicked(string address, string paymentId, double amount, int mixinCount, int priority) signal paymentClicked(string address, string paymentId, double amount, int mixinCount, int priority)
signal generatePaymentIdInvoked() signal generatePaymentIdInvoked()
@ -64,31 +64,31 @@ Rectangle {
} }
// XXX: just for memo, to be removed
// states: [ // states: [
// State { // State {
// name: "Dashboard" // name: "Dashboard"
// PropertyChanges { target: loader; source: "pages/Dashboard.qml" } // PropertyChanges { target: loader; source: "pages/Dashboard.qml" }
// }, State { // }, State {
// name: "History" // name: "History"
// PropertyChanges { target: loader; source: "pages/History.qml" } // PropertyChanges { target: loader; source: "pages/History.qml" }
// }, State { // }, State {
// name: "Transfer" // name: "Transfer"
// PropertyChanges { target: loader; source: "pages/Transfer.qml" } // PropertyChanges { target: loader; source: "pages/Transfer.qml" }
// }, State { // }, State {
// name: "Receive" // name: "Receive"
// PropertyChanges { target: loader; source: "pages/Receive.qml" } // PropertyChanges { target: loader; source: "pages/Receive.qml" }
// }, State { // }, State {
// name: "AddressBook" // name: "AddressBook"
// PropertyChanges { target: loader; source: "pages/AddressBook.qml" } // PropertyChanges { target: loader; source: "pages/AddressBook.qml" }
// }, State { // }, State {
// name: "Settings" // name: "Settings"
// PropertyChanges { target: loader; source: "pages/Settings.qml" } // PropertyChanges { target: loader; source: "pages/Settings.qml" }
// }, State { // }, State {
// name: "Mining" // name: "Mining"
// PropertyChanges { target: loader; source: "pages/Mining.qml" } // PropertyChanges { target: loader; source: "pages/Mining.qml" }
// } // }
// ] // ]
states: [ states: [
State { State {
@ -116,7 +116,6 @@ Rectangle {
} }
] ]
// color stripe at the top // color stripe at the top
Row { Row {
id: styledRow id: styledRow

View File

@ -284,3 +284,7 @@ Rectangle {
} }