• Michal Policht's avatar
    Change the way implicit width and height are calculated. · d035e939
    Michal Policht authored
    Read-only properties 'wayWidth' and 'wayHeight' have been added.
    Loader does not initialize 'item' before Valve component is ready, which
    results in recalculation of implicit width and height if they rely on
    binding involving 'item'. It also prevents one from relying on implicit
    width and height within 'Component.onCompleted' signal handler. To avoid
    this Loader components rely on their respective flags along with
    'wayWidth' and 'wayHeight' properties to calculate their sizes.
Valve.qml 2.93 KB