Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13860 closed defect (fixed)

No way to change icons according to the theme

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

Description

Theme can be switched, but there is no way to change icons according to the theme used. That prevents creation of device-specific icons. Users may see iPhone-like icons in the Android theme, which is pretty weird.

Change History (3)

comment:1 Changed 8 years ago by ykami

Resolution: fixed
Status: newclosed

In [26472]:

Fixes #13860 !strict. Allow ${theme}, which will be expanded to the current theme name, in an icon path.

comment:2 Changed 8 years ago by ykami

Version: 1.6.11.7.0b1

comment:3 Changed 8 years ago by ykami

In [26574]:

Fixes #13860 !strict. Renamed the class name "mblToolbarButton" to "mblToolBarButton" to be consistent with its widget name. Use dojox.mobile.createIcon() to create icons or dom buttons so that the "theme" variable in an icon path can be expanded to the current theme name.

Note: See TracTickets for help on using tickets.