Skip to content
Verified Commit bc03a15b authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

Page: Fix title delegate elision glitch

Implicitly sized items like QtQuick/Text don't play nicely with Loader,
and generally with kinda-recursive bindings on Layout.* properties.

This combination of two fixes does the trick:

1. Use extra TextMetrics for reliable width/height values.
2. Round up text's advance width, so that container loader or layout
won't ever round it down (which it did with implicitWidth before).
parent 765356d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment