parent
499b360112
commit
ea00d4c46d
|
@ -9,9 +9,10 @@ import shared.panels 1.0
|
||||||
Item {
|
Item {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
|
property bool compact: false
|
||||||
property string publicKey
|
property string publicKey
|
||||||
|
|
||||||
property real size: 16
|
readonly property real size: compact ? 10 : 15
|
||||||
|
|
||||||
implicitHeight: positioner.implicitHeight
|
implicitHeight: positioner.implicitHeight
|
||||||
implicitWidth: positioner.implicitWidth
|
implicitWidth: positioner.implicitWidth
|
||||||
|
|
|
@ -206,8 +206,8 @@ Item {
|
||||||
id: emojiHash
|
id: emojiHash
|
||||||
Layout.alignment: Qt.AlignHCenter
|
Layout.alignment: Qt.AlignHCenter
|
||||||
visible: root.emojiHashVisible
|
visible: root.emojiHashVisible
|
||||||
|
compact: root.compact
|
||||||
publicKey: root.pubkey
|
publicKey: root.pubkey
|
||||||
size: root.compact ? 16 : 20
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue