MiddlePanel: dynamic content height

This commit is contained in:
selsta
2019-05-07 07:19:40 +02:00
parent 3c1fe1da8b
commit 96945c2c79
6 changed files with 28 additions and 30 deletions

View File

@@ -47,6 +47,8 @@ Rectangle {
signal sweepUnmixableClicked()
color: "transparent"
property alias transferHeight1: pageRoot.height
property alias transferHeight2: advancedLayout.height
property int mixin: 10 // (ring size 11)
property string warningContent: ""
property string sendButtonWarning: ""
@@ -435,15 +437,8 @@ Rectangle {
} // pageRoot
Rectangle {
id: desaturate
color:"black"
anchors.fill: parent
opacity: 0.1
visible: (pageRoot.enabled)? 0 : 1;
}
ColumnLayout {
id: advancedLayout
anchors.top: pageRoot.bottom
anchors.left: parent.left
anchors.right: parent.right