Hi,
Is it possible to have hyphenation (“words split”) with Labels if there is no room to display text on screen ?
Do I need to develop a custom widget ?
Thank you.
Hi,
Is it possible to have hyphenation (“words split”) with Labels if there is no room to display text on screen ?
Do I need to develop a custom widget ?
Thank you.
Hi @cgorand,
You have two choices:
If you have simple needs the first solution is the easiest.
Gaëtan for MicroEJ
[1] https://developer.microej.com/javadoc/microej_4.1/addons/ej/style/text/ComplexTextManager.html
[2] https://developer.microej.com/javadoc/microej_4.1/addons/ej/style/text/TextHelper.html
Charles,
You can also look at the Widget demo example for line wrap [1] - see screenshot below.
[1] https://github.com/MicroEJ/Demo-Widget/blob/master/com.microej.demo.widget/src/main/java/com/microej/demo/widget/page/ScrollableTextPage.java
Stéphane, MicroEJ.
Hi,
Thank you for your answers. ComplexTextManager does the job !