Issue
After upgrading a native mobile app to Studio Pro v11.12.2, the Tab Container widget no longer has enough space to show the full label of the active tab when the font weight is customized.
The issue occurs when the font weight of the inactive tabs is set to font.weightNormal and the font weight of the active tab is set to font.weightBold in the custom-variables.js file. When the active tab label is rendered in bold, the text is cut off and the full label is not displayed. The same configuration works correctly in Mendix 10.
Environment
Native Mobile
Studio Pro v11.12.6 and older
Studio Pro v11.16.1 and older
Cause
This is a known issue in the Tab Container widget for native mobile apps in Mendix 11. The tab label width does not adjust when the active tab uses a heavier font weight than the inactive tabs. As a result, the bold label of the active tab is truncated.
Solution/Workaround
The issue is fixed in Studio Pro v11.12.7 and v11.17.0. To resolve it, follow these steps:
- Upgrade the app to Studio Pro v11.12.7, v11.17.0, or a later version.
- Keep the custom font weight settings for the Tab Container in custom-variables.js. For example, use
font.weightNormalfor inactive tabs andfont.weightBoldfor the active tab. - Rebuild the native app and check that the full label of the active tab is displayed.
Internal information related
- 286711
- MOO-2473
- C07BE6K6F5L/p1788250683856309
Additional information
Not Applicable.
0 Comments