|
|
|
@ -43,6 +43,7 @@ Rectangle {
|
|
|
|
|
property bool showMinimizeButton: true
|
|
|
|
|
property bool showMaximizeButton: true
|
|
|
|
|
property bool showCloseButton: true
|
|
|
|
|
property string walletName: ""
|
|
|
|
|
|
|
|
|
|
height: {
|
|
|
|
|
if(!persistentSettings.customDecorations || isMobile) return 0;
|
|
|
|
@ -189,6 +190,7 @@ Rectangle {
|
|
|
|
|
|
|
|
|
|
// monero logo
|
|
|
|
|
Item {
|
|
|
|
|
visible: walletName.length === 0
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
Layout.preferredHeight: parent.height
|
|
|
|
|
|
|
|
|
@ -216,6 +218,22 @@ Rectangle {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Item {
|
|
|
|
|
visible: walletName.length > 0
|
|
|
|
|
Layout.fillWidth: true
|
|
|
|
|
Layout.preferredHeight: parent.height
|
|
|
|
|
|
|
|
|
|
MoneroComponents.TextPlain {
|
|
|
|
|
font.pixelSize: 20
|
|
|
|
|
horizontalAlignment: Text.AlignHCenter
|
|
|
|
|
verticalAlignment: Text.AlignVCenter
|
|
|
|
|
width: parent.width
|
|
|
|
|
height: parent.height
|
|
|
|
|
elide: Text.ElideRight
|
|
|
|
|
text: walletName
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// minimize
|
|
|
|
|
Rectangle {
|
|
|
|
|
color: "transparent"
|
|
|
|
|