@broulik taught me how to do this! It's more robust than the current logic, which
doesn't expand to the full form when the window becomes wide enough to show the
whole string without eliding.
Details
Details
- Reviewers
apol broulik - Group Reviewers
Discover Software Store - Commits
- R134:bbc88da3f93c: [Updates page] use fancier logic for handling elided Old+New version strings
Diff Detail
Diff Detail
- Repository
- R134 Discover Software Store
- Branch
- fancier-long-version-string-handling (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 17784 Build 17802: arc lint + arc unit
discover/qml/UpdatesPage.qml | ||
---|---|---|
286 | this is very interesting and a good idea.. |
discover/qml/UpdatesPage.qml | ||
---|---|---|
271 ↗ | (On Diff #68088) | WAAAAAT how that is supposed to work |
discover/qml/UpdatesPage.qml | ||
---|---|---|
271 ↗ | (On Diff #68088) | OK, so that's a "multi-length string" feature using Unicode "String Terminator" character U009C, as described in QtQuick documentation: https://doc.qt.io/qt-6/qml-qtquick-text.html#elide-prop This still does not explain why does it need different eliding modes in ternary expression |