#13448 closed defect (fixed)
dojox.mobile.SpinWheel has one slot, displays two
Reported by: | annigurumi | Owned by: | ykami |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | DojoX Mobile | Version: | 1.7.0b1 |
Keywords: | dojox, mobile, SpinWheel | Cc: | |
Blocked By: | Blocking: |
Description
Created (declarative) dojox.mobile.SpinWheel? containing one SpinWheelSlot? with an array of labels. SpinWheel? widget displays two slots, one with my array of items and the other blank.
Change History (5)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Isn't it a matter of the width of SpinWheel? I mean, SpinWheel is much wider than SpinWheelSlot? If that is the case, you can adjust the width with css. If not, could you attach a small sample that could reproduce the problem?
comment:3 Changed 10 years ago by
Confirmed, SpinWheel? is much wider than SpinWheelSlot?.
.mblspinwheel does not have a width attribute (iphone.css). .mblspinwheelslot width property is 100px, will add a class to my stylesheet to override with 100% as a workaround.
Suggest that case of one slot should be handled this way by default.
comment:4 Changed 10 years ago by
Milestone: | tbd → 1.7 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:5 Changed 10 years ago by
Thanks for your suggestion. I didn't change the default behavior, but added a test case for a one-slot spin wheel example. You may need padding-right:4px for the right border. Hope this helps.
Replying to annigurumi:
Additional Note: SpinWheel? is placed inside dojox.mobile.Opener. Displays appropriately on desktop/tablet, but incorrectly on smaller mobile devices.