fix: fix QML warnings
This commit is contained in:
parent
f9b7d9dfc9
commit
37edfed446
|
@ -72,10 +72,11 @@ Item {
|
||||||
id: profileName
|
id: profileName
|
||||||
text: ensName !== "" ? ensName : username
|
text: ensName !== "" ? ensName : username
|
||||||
anchors.left: profileImgContainer.right
|
anchors.left: profileImgContainer.right
|
||||||
anchors.leftMargin: 8
|
anchors.leftMargin: Style.current.halfPadding
|
||||||
anchors.top: profileImgContainer.top
|
anchors.top: profileImgContainer.top
|
||||||
font.weight: Font.Medium
|
anchors.topMargin: 4
|
||||||
font.pixelSize: 15
|
font.weight: Font.Bold
|
||||||
|
font.pixelSize: 20
|
||||||
}
|
}
|
||||||
|
|
||||||
Address {
|
Address {
|
||||||
|
@ -94,7 +95,7 @@ Item {
|
||||||
height: 32
|
height: 32
|
||||||
width: 32
|
width: 32
|
||||||
radius: 8
|
radius: 8
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: profileImgContainer.verticalCenter
|
||||||
icon.name: "qr-code-icon"
|
icon.name: "qr-code-icon"
|
||||||
iconColor: Style.current.textColor
|
iconColor: Style.current.textColor
|
||||||
onClicked: {
|
onClicked: {
|
||||||
|
@ -118,8 +119,9 @@ Item {
|
||||||
asynchronous: true
|
asynchronous: true
|
||||||
fillMode: Image.PreserveAspectFit
|
fillMode: Image.PreserveAspectFit
|
||||||
source: profileModel.qrCode(pubkey)
|
source: profileModel.qrCode(pubkey)
|
||||||
|
anchors.verticalCenterOffset: 20
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
anchors.verticalCenter: parent.verticalCenter + 20
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
height: 312
|
height: 312
|
||||||
width: 312
|
width: 312
|
||||||
mipmap: true
|
mipmap: true
|
||||||
|
|
|
@ -640,8 +640,7 @@ Rectangle {
|
||||||
font.pixelSize: 15
|
font.pixelSize: 15
|
||||||
font.family: Style.current.fontRegular.name
|
font.family: Style.current.fontRegular.name
|
||||||
wrapMode: TextArea.Wrap
|
wrapMode: TextArea.Wrap
|
||||||
anchors.bottom: messageInput.bottom
|
height: parent.height
|
||||||
anchors.top: messageInput.top
|
|
||||||
placeholderText: qsTr("Type a message")
|
placeholderText: qsTr("Type a message")
|
||||||
placeholderTextColor: Style.current.secondaryText
|
placeholderTextColor: Style.current.secondaryText
|
||||||
selectByMouse: true
|
selectByMouse: true
|
||||||
|
|
Loading…
Reference in New Issue