Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-15-2012 10:38 PM
textFormat.size = 22; //Added this in to change font size var lblText1:Label = new Label(); lblText1.text = "Click \n on board to resume game"; // lblText1.wordWrap=true; // lblText1.autoSize= TextFieldAutoSize.LEFT;
This is probably a noob question but.... I made a PlayBook app a while back and I'm trying to update it to use the latest SDK so that I can submit it for BB10. I seem to have everything scaled and working except for the text.
I went from importing "qnx.ui.text.Label" to "qnx.fuse.ui.text.Label" and from "flash.text.TextFormat" to "qnx.fuse.ui.text.TextFormat".
After this, I could no longer use "Label.wordWrap" and "Label.autoSize". I also can't seem to get newline to work... the "\n" doesn't show up on the screen but it doesn't put a new line either. I also tried using Label.htmlText to use <br/> instead of \n but it had the same problem.
Right now the texts are the correct font size (I went in and added that in for everything) but I couldn't find a way to fix wordWrap. Could someone please help me with wordWrap and as to why newline isn't working?
Solved! Go to Solution.