two kirigami issues

Marco Martin notmart at gmail.com
Tue Jun 21 08:00:35 PDT 2016


On Sunday 19 June 2016, Dirk Hohndel wrote:
> Hi Marco,
> 
> The latest Kirigami causes two problems for Subsurface-mobile
> 

ha! i know what it is:
the ScrollablePage component only finds the flickable it's supposed to scroll 
if its either its only or last child, due to how default qml properties work, 
so due to the label that was declared after the listviewit was getting lost 
(as the mainItem property now was the label)
Is quite a quirk but i maintained this "mainItem" api in many places as is 
consistent with Qt 5.7 QQuickControls2

attached patch fixes it

-- 
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-make-sure-the-ListView-is-the-last-element.patch
Type: text/x-patch
Size: 1224 bytes
Desc: not available
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20160621/cdc8f083/attachment.bin>


More information about the subsurface mailing list