[Interest] How to determine whether QML item is anchored?

Mitch Curtis mitch.curtis at qt.io
Fri Apr 6 13:20:51 CEST 2018

What are you trying to do?

From: Interest [mailto:interest-bounces+mitch.curtis=qt.io at qt-project.org] On Behalf Of Alexander Ivash
Sent: Friday, 6 April 2018 11:40 AM
To: interest at qt-project.org
Subject: [Interest] How to determine whether QML item is anchored?

What I'm missing? It seems like even not anchored item has anchors.right/left/top/bottom set, so it is not possible to compare with 'undefined' or something. Of course introducing change handler allows to track moment of anchoring (although still no way to track un-anchoring), but this is a bit ugly and not 'Qt-way'.

Sent from Mailspring<https://link.getmailspring.com/link/1523007448.local-615ef209-6912-v1.2.1-7e7447b6@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=aW50ZXJlc3RAcXQtcHJvamVjdC5vcmc%3D>, the best free email app for work
[Open Tracking]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180406/1859cc73/attachment.html>

More information about the Interest mailing list