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

Reply
Developer
Dredvard
Posts: 160
Registered: ‎01-27-2012
My Device: Playbook

Changing text size for RadioGroup

I there a mthod to change the font size for a radio group?  The default one is too large for its container (text over flows) and I can't seem to find any method in the api to modify it.

---
If you find my post helpful please "like" it and "accept as a solution"
Contributor
sanshah90
Posts: 36
Registered: ‎06-28-2012
My Device: BB10

Re: Changing text size for RadioGroup

Hi,

 

i think currently you cannot change the text's size of radiogroup.

You can make custom radiogroup with label as a workaround.

 

Thanks

Developer
oliver_kranz
Posts: 216
Registered: ‎09-18-2009
My Device: Z10

Re: Changing text size for RadioGroup

I also encountered this issue.

 

I just made a feature request in the issue tracker.

 

https://www.blackberry.com/jira/browse/BBTEN-845

Developer
StevenKader
Posts: 644
Registered: ‎02-03-2010
My Device: Z10 LE

Re: Changing text size for RadioGroup

It isn't perfect but I was able to make the text smaller by using the scale factors :

 

 Container {
                                topPadding: -40
                                bottomPadding: -60
                                RadioGroup {
                                    id: group1
                                    dividersVisible: true
                                    Option {
                                        id: option1
                                        text: "Test"
                                        selected: true
                                    }
                                    Option {
                                        id: option2
                                        text: "Test"
                                    }
                                    onSelectedIndexChanged: if (group1.selectedValue() == 0) {
                                    
                                    }
                                    scaleY: 0.6
                                    scaleX: 0.6
                                
                                }
                            }

 


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing