Fix case of anchors being set on an item in a Layout
This commit is contained in:
@@ -303,7 +303,8 @@ Kirigami.ScrollablePage {
|
|||||||
innerObject: [
|
innerObject: [
|
||||||
MouseArea {
|
MouseArea {
|
||||||
acceptedButtons: (Kirigami.Settings.isMobile ? Qt.LeftButton : 0) | Qt.RightButton
|
acceptedButtons: (Kirigami.Settings.isMobile ? Qt.LeftButton : 0) | Qt.RightButton
|
||||||
anchors.fill: parent
|
Layout.fillWidth: true
|
||||||
|
Layout.fillHeight: true
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (mouse.button == Qt.RightButton) {
|
if (mouse.button == Qt.RightButton) {
|
||||||
openMessageContext(author, display, eventId, toolTip);
|
openMessageContext(author, display, eventId, toolTip);
|
||||||
|
|||||||
Reference in New Issue
Block a user