There are several ways to guarantee that localised texts fit into the available space in a QML UI:
- Length variants for localised text
However, there is no automatic way to check/test, if the UI text component width is large enough to contain the text without truncation/overflow.
Could we add this kind of a check into to phase, when we create the scene graph and layout the different UI items. There could be simple textual warnings, if truncation/overflow is detected. The idea is that the designer/developer does not have to run the UI/application and execute each and every branch to see visually, if the pixel width is correct.
It would be beneficial, if all localized texts could be tested in one test to avoid laborious manual work.