@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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
discover/qml/UpdatesPage.qml | ||
---|---|---|
277–281 | this is very interesting and a good idea.. |
discover/qml/UpdatesPage.qml | ||
---|---|---|
262 | WAAAAAT how that is supposed to work |
discover/qml/UpdatesPage.qml | ||
---|---|---|
262 | 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 |