TextAutoFit
#include <bb/cascades/TextAutoFit>
A set of configurations that specify dynamic font size behaviour to use with the TextField control.
Since:
BlackBerry 10.0.0
Public Types Index
enum TypeDefault = 0, None = 1, FitToBounds = 2 |
Public Types
Specifies the auto-fit mode for text in the TextField.
Since:
BlackBerry 10.0.0
- Default = 0
Let the framework decide the auto-fit mode.
Since:BlackBerry 10.0.0
- None = 1
Disable auto-fit, text will not be scaled.
Since:BlackBerry 10.0.0
- FitToBounds = 2
Scale text to fit exactly within bounds.
Since:BlackBerry 10.0.0