2

Blackberry Cascades 10.2

import bb.cascades 1.2

Page {
Container {
    layout: AbsoluteLayout {

    }
    Label {
        preferredWidth: 200
        preferredHeight: 150


        layoutProperties: AbsoluteLayoutProperties {
            positionX: 20
            positionY: 20
        }
        text: 'ThisIsALongTextInALabelThatHasMoreTextThanAPreviousLabel'
        textFit {
            mode: LabelTextFitMode.FitToBounds
            minFontSizeValue: 1
            maxFontSizeValue: 24
        }
    }
}
}

Text is truncated at the tail. Shouldn't it fit to the bounds of the label ?

Thogek
  • 361
  • 3
  • 10
Mercurial
  • 2,095
  • 4
  • 19
  • 33

0 Answers0