TextAutoFit

Since: BlackBerry 10.0.0

#include <bb/cascades/TextAutoFit>

A set of configurations that specify dynamic font size behaviour to use with the TextField control.


Overview

Public Types Index

enum Type

Default 0, None 1, FitToBounds 2

Public Types

Type

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.

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

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus