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
SumiSadiq
Posts: 148
Registered: ‎04-08-2013
My Device: Blackberry 10
My Carrier: Blackberry

Customize progress bar

Is there any way to customize progress bar.In my app design I need to increase the width of the progress bar(ie I need a more fatter progress bar than the default slim progress bar).Is there any way for this.Any one plz help me

Please use plain text.
Developer
jalue
Posts: 196
Registered: ‎03-04-2013
My Device: BB Z10
My Carrier: Rogers

Re: Customize progress bar

[ Edited ]

Hey there...

 

Play with the scaleY property...

 

    ProgressIndicator {
        id: progressbar
        fromValue: 0
        toValue: 100
        scaleY: 2   // Default is 1...
    
        ....
        ....
    }

 

--Edit--

For C++ it would be:

 

    ProgressIndicator *myProInd = ProgressIndicator::create()
                                       .sy(2);

 

Please use plain text.
Developer
SumiSadiq
Posts: 148
Registered: ‎04-08-2013
My Device: Blackberry 10
My Carrier: Blackberry

Re: Customize progress bar

Can u please tell me about the from and to value.What is the max range for them.If i want to show a progess of 700 MB out of 1GB what all values should i give.Can anyone explain me the actual concept

Please use plain text.