QML finish sizing object event
MajidKamali last edited by
Is there any handler for
resize completedor some similar event?
I want to send positions and rectangles of some items in window when page is shown to another QML file, but when I use
Component.onCompletedhandler of root object for that, I get zero width or height of child items
@MajidKamali In QML each property has its corresponding signal handler. so you have
onHeightChangedhandlers to detect size changes.
MajidKamali last edited by MajidKamali
@p3c0 There isn't any signal when page or Item is ready for showing? (When all Items have there real width, height and position)
@MajidKamali As per the doc the order of running the onCompleted handlers is undefined. So as I understand from it there's no such way to find out whether the page is fully loaded and that all its children are comepletely intialized.
But I think you should try putting completed handler inside a particular child.