In the docs, it says that a widget can be created with an ImageSheet, but offers no details as to how.
Do any of you know how to make a widget slider with sprites? I want to customize the look the slider.
Thanks!
In the docs, it says that a widget can be created with an ImageSheet, but offers no details as to how.
Do any of you know how to make a widget slider with sprites? I want to customize the look the slider.
Thanks!
+1
Any one figured out what paramters to give for custom sliders?
I submitted a “I like it but…” report to Corona on this page.
All right… On inspecting the widget library, the following params need to be passed for a horizontal slider
sheet
handleFrame
handleWidth
handleHeight
leftFrame
middleFrame
rightFrame
frameWidth
frameHeight
fillFrame
For a vertical slider
sheet
handleFrame
handleWidth
handleHeight
topFrame
middleVerticalFrame
bottomFrame
frameWidth
frameHeight
fillVerticalFrame
If it helps anyone…
Posting an example of a customized slider (and a couple others) is on my list… hopefully I’ll get to it this week. Thanks for your patience everybody.
Brent
Hi Brent,
Did you post an example for customizing the slider ?
thanks
Nick
+1
Any one figured out what paramters to give for custom sliders?
I submitted a “I like it but…” report to Corona on this page.
All right… On inspecting the widget library, the following params need to be passed for a horizontal slider
sheet
handleFrame
handleWidth
handleHeight
leftFrame
middleFrame
rightFrame
frameWidth
frameHeight
fillFrame
For a vertical slider
sheet
handleFrame
handleWidth
handleHeight
topFrame
middleVerticalFrame
bottomFrame
frameWidth
frameHeight
fillVerticalFrame
If it helps anyone…
Posting an example of a customized slider (and a couple others) is on my list… hopefully I’ll get to it this week. Thanks for your patience everybody.
Brent
Hi Brent,
Did you post an example for customizing the slider ?
thanks
Nick
Is there any news?
It would be very helpfull if someone posts examples for customizing widgets
I just added visual customization details for widget.newSlider(). Please test it out:
http://docs.coronalabs.com/api/library/widget/newSlider.html
Take care,
Brent
Brent, it looks beautiful. Will test it asap. Would it be possible for you to share the image sheets used in the examples? Also the source files, ie photoshop etc would be so nice. Thanks for considering.
Hey, I have a problem related to the custom slider. When I create a custom horizontal slider, there is a fill missing near the start (leaving just an empty space). But when I move the handle just a little bit, that empty space is filled (and some more). Then whenever I move the handle, this new piece moves too, sometimes going outside of the slider, sometimes leaving a lot of empty space. Any help would be appreciated!
This slider bug with customized skins is fixed in Daily builds for Pro and Enterprise subscribers and will be fixed when we roll out a new public build. There is no ETA on that yet.
Rob
Is there any news?
It would be very helpfull if someone posts examples for customizing widgets
I just added visual customization details for widget.newSlider(). Please test it out:
http://docs.coronalabs.com/api/library/widget/newSlider.html
Take care,
Brent
Brent, it looks beautiful. Will test it asap. Would it be possible for you to share the image sheets used in the examples? Also the source files, ie photoshop etc would be so nice. Thanks for considering.
Hey, I have a problem related to the custom slider. When I create a custom horizontal slider, there is a fill missing near the start (leaving just an empty space). But when I move the handle just a little bit, that empty space is filled (and some more). Then whenever I move the handle, this new piece moves too, sometimes going outside of the slider, sometimes leaving a lot of empty space. Any help would be appreciated!