fix: fix qml warnings

This commit is contained in:
Jonathan Rainville 2021-04-07 12:28:49 -04:00 committed by Iuri Matias
parent 5ca9d66212
commit 8607251a6e
6 changed files with 8 additions and 4 deletions

View File

@ -26,6 +26,7 @@ ScrollView {
Layout.fillWidth: true
Layout.fillHeight: true
height: parent.height
ScrollBar.vertical.policy: chatLogView.contentHeight > chatLogView.height ? ScrollBar.AlwaysOn : ScrollBar.AlwaysOff
ScrollBar.horizontal.policy: ScrollBar.AlwaysOff

View File

@ -241,7 +241,7 @@ Item {
}
HoverHandler {
enabled: !messageContextMenu.opened && !profilePopupOpened && !popupOpened
enabled: typeof messageContextMenu !== "undefined" && typeof profilePopupOpened !== "undefined" && !messageContextMenu.opened && !profilePopupOpened && !popupOpened
onHoveredChanged: {
root.isHovered = hovered;
}

View File

@ -132,6 +132,7 @@ Item {
SVGImage {
id: emojiImage
width: 15
height: 15
fillMode: Image.PreserveAspectFit
source: {
const basePath = "../../../../img/emojiReactions/"

View File

@ -11,8 +11,9 @@ Item {
property string pubkey: profileModel.profile.pubKey
id: profileHeaderContent
anchors.fill: parent
clip: true
height: parent.height
Layout.fillWidth: true
Component {
id: changeProfileModalComponent

View File

@ -14,7 +14,6 @@ ModalPopup {
closePolicy: Popup.NoAutoClose
Column {
anchors.horizontalCenter: parent.horizontalCenter
anchors.left: parent.left
anchors.right: parent.right
@ -108,4 +107,4 @@ ModalPopup {
}
}
}
}
}

View File

@ -291,7 +291,9 @@ DISTFILES += \
app/AppLayouts/Profile/qmldir \
app/AppLayouts/Wallet/LeftTab.qml \
app/AppLayouts/Wallet/SendModal.qml \
app/AppLayouts/Wallet/SignPhraseModal.qml \
app/AppLayouts/Wallet/SetCurrencyModal.qml \
app/AppLayouts/Wallet/SeedPhraeBackupWarning.qml \
app/AppLayouts/Wallet/TokenSettingsModal.qml \
app/AppLayouts/Wallet/WalletHeader.qml \
app/AppLayouts/Wallet/WalletLayout.qml \