Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#13052 closed defect (fixed)

ListItem layout problems

Reported by: ykami Owned by: ykami
Priority: high Milestone: 1.7
Component: DojoX Mobile Version: 1.6.1
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

There's a layout problem in ListItem.

  • When used with deviceTheme, style may not be applied in time and thus it could miscalculate layout. Sometimes rightText is displayed at left-hand side. (listitem1.png)
  • If label text is long, it overlaps with rightText.
  • Right icons are not displayed if images are specified. (Only DOM buttons can be specified)
  • Vertical alignment of the left icon and rightText is wrong when variableHeight is used.

Attachments (2)

listitem1.png (12.0 KB) - added by ykami 9 years ago.
listitem2.png (34.2 KB) - added by ykami 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by ykami

Attachment: listitem1.png added

Changed 9 years ago by ykami

Attachment: listitem2.png added

comment:1 Changed 9 years ago by ykami

Resolution: fixed
Status: newclosed

(In [25132]) Fixes #13052 !strict Fixed ListItem? layout problems. Changed the dom structure to utilize browser's layout engine rather than calculation with JavaScript?.

comment:2 Changed 9 years ago by ykami

(In [25133]) Refs #13052 !strict Added an entry for the Custom theme into the map.

comment:3 Changed 8 years ago by ykami

In [26411]:

Refs #13052 !strict Fixed a problem where position of the right icon shifts between adjacent ListItems?.

Note: See TracTickets for help on using tickets.