Skip to content

Commit

Permalink
Introduced 'show advanced options' checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderfoobar committed May 3, 2018
1 parent dc1d5e9 commit 229fba2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions pages/Receive.qml
Expand Up @@ -48,6 +48,7 @@ Rectangle {
property var model
property var current_address
property int current_subaddress_table_index: 0
property bool advancedRowVisible: false
property alias receiveHeight: mainLayout.height
property alias addressText : pageReceive.current_address

Expand Down Expand Up @@ -398,10 +399,23 @@ Rectangle {
}
}

RowLayout {
CheckBox2 {
id: showAdvancedCheckbox
checked: false
onClicked: {
advancedRowVisible = !advancedRowVisible;
}
text: qsTr("Advanced options") + translationManager.emptyString
}
}

GridLayout {
id: advancedRow
columns: (isMobile)? 1 : 2
Layout.fillWidth: true
columnSpacing: 32 * scaleRatio
visible: advancedRowVisible

ColumnLayout {
Layout.alignment: Qt.AlignTop
Expand Down

0 comments on commit 229fba2

Please sign in to comment.