In a otherwise working iosApp which I created in 2022, we have only now noticed, that long text is not wrapping. We use a MobileLabel within a MobileTableCustonCell and LineBreakMode is set to WordWrap, but longer text is not wrapping withing the label.
Also, if I try apply the LineBreakMode in code, this is not showing any effect either.
Public Sub LoadText()
// Add name or organization name as section title
Me.TableAdressDetails.AddSection(“”)
// define variables
Var cellData As MobileTableCellData
Var customCell As NWSCustomCell
With left and right constraints priority set to “Medium”, the auto-layout engine is creating a label that takes all available width, in this case, the label was several thousand pixels wide to fit all text in one line.
After setting all three constraints to “Highest”, the text does wrap correctly. It even seems that setting a bottom constraint isn’t necessary.