<table><tr><td style="">apol created this revision.<br />Restricted Application added a project: Kirigami.<br />Restricted Application added a subscriber: plasma-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5416" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Don't assume "page" in the namespace of ItemViewHeader, use view instead<br />
which we have and symbolizes the same.<br />
Don't change the implicitHeight when contentY is < 0.</p>
<p>Smooth ItemViewHeader</p>
<p>Make page property readonly. Nobody is accessing it and it's private<br />
anyway.<br />
When there's an image, don't wait to have the image to resize the header,<br />
it makes the whole UI change without much sense as it should be fast.<br />
Properly access the page property by name of the object, rather than having<br />
QML go through the object tree. It failed to find the property sometimes.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Tests still pass, I don't get tons of warnings on Discover</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5416" rel="noreferrer">https://phabricator.kde.org/D5416</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/controls/AbstractItemViewHeader.qml<br />
src/controls/ItemViewHeader.qml</div></div></div><br /><div><strong>To: </strong>apol, Kirigami, leinir, mart<br /><strong>Cc: </strong>plasma-devel, apol<br /></div>