Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14597 closed defect (fixed)

dojox.mobile.Switch should be inline style

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.8
Component: DojoX Mobile Version: 1.7.1
Keywords: Cc:
Blocked By: Blocking:

Description

The current Switch is made from <div> and act as a block element. But it is kind of a form control, and often used with label text. So, it should be inline style rather than block style.

Change History (3)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

In [27638]:

Fixes #14597 !strict Changed the Switch's domNode from <div> to <table> to make it inline. Also, changed the iPhone's default Switch shape to RoundShape1 following the iOS5's Switch. And improved the appearance by applying better image masks.

comment:2 Changed 8 years ago by ykami

In [27732]:

Refs #14597 !strict Code clean up.

comment:3 Changed 8 years ago by ykami

In [28012]:

Refs #14597 !strict Changed the domNode from <table> to <span> to simplify the dom structure.

Note: See TracTickets for help on using tickets.