Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#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 in reply to:  description Changed 8 years ago by annigurumi

Replying to annigurumi:

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.

Additional Note: SpinWheel? is placed inside dojox.mobile.Opener. Displays appropriately on desktop/tablet, but incorrectly on smaller mobile devices.

comment:2 Changed 8 years ago by ykami

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 8 years ago by annigurumi

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 8 years ago by ykami

Milestone: tbd1.7
Resolution: fixed
Status: newclosed

(In [25919]) Fixes #13448 !strict. Added one-slot spin wheel test case.

comment:5 Changed 8 years ago by ykami

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.

Note: See TracTickets for help on using tickets.