Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development


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.


Reply
Developer
Posts: 132
Registered: ‎11-06-2012
My Device: BlackBerry Passport

fontSizeValue is not working in SDK Beta 4

In SKD beta 3, it works ok, but after I update my SDK, all the font size came back to normal.

Anyone has the same issue like me?

Highlighted
Developer
Posts: 526
Registered: ‎05-17-2009
My Device: 9900
My Carrier: ATT

Re: fontSizeValue is not working in SDK Beta 4

did you set fontSize to FontSize.PointValue along side of fontSizeValue?
Like all of my posts
New Developer
Posts: 8
Registered: ‎11-12-2012
My Device: 9000
My Carrier: Simulator

Re: fontSizeValue is not working in SDK Beta 4

SDK Beta 4 work ok but simulator (dev alpha) beta 4 not running

Developer
Posts: 116
Registered: ‎10-31-2012
My Device: BB10 Dev Alpha B
My Carrier: -

Re: fontSizeValue is not working in SDK Beta 4

Hi Kyle,

 

It was the solution for me too, thanks Smiley Happy

 

What I don't understand is why behaviour was changed with two months to launch. I, and I'm sure everyone else developing apps, have better things to do than be making pointless changes to code.

 

It wouldn't be so bad if it was a sensible requirement, but it's not. The app developer has already indicated they want point size by calling the function to set the point size; requiring a second supplementary function call is just building in the chance of bugs in the code. The code that sets point size should be setting the font size enum, not the application programmer.

 

 

Developer
Posts: 889
Registered: ‎08-31-2009
My Device: 9530, 9630, 9800, 8530, 9900, 9810, 9930, PlayBook, Dev Alpha
My Carrier: Verizon

Re: fontSizeValue is not working in SDK Beta 4

I am pretty sure that setting FontSize.PointValue was also required in Beta3


Read my thoughts on BlackBerry Development at news.ebscer.com
Developer
Posts: 116
Registered: ‎10-31-2012
My Device: BB10 Dev Alpha B
My Carrier: -

Re: fontSizeValue is not working in SDK Beta 4

It may have been required, but it worked perfectly well without it  Smiley Very Happy

 

But seriously, it this really was required then it was always an idiotic implementation:

 

Two function calls to needed set the point size of a text string?

 

The possibility of conflicting values between them?