thanks, but this will not solve the problem:
we lose the dynamic height if somewhere changes the parent geometry
the assert message is also shown because the binding of parent.height is in the timeline after the signal handling (using QML Profiler)
At the moment my solution is
font {
family: "Arial"
pointSize: getFontSize(0.10 * height)
}
where getFontSize is a very simple function
function getFontSize(s)
{
return s === 0 ? 1 : s;
}
But over all I haven’t found some useful documentation how can we handle all the sizes of a QML application. From my point of view I need to lot width, height informations also when I use layouts.
↧