- milestone: 652804 --> 2.0_Planned
- priority: 9 --> 1
Allow external and inline styling of UI components used
to display SurveyObjects. Use CSS syntax, with
external linkable files, and inline object attributes
using style="". This should allow styling things like
font size/color/alignment, the images used in
ListItemButton, the orientation of ResponseList
(Vertical/Horizontal), the alignment of ResponseList,
and anything else supported by the UI component.
Should use reflection to UI component methods to set
styling, so that new UI components don't require
changes to the app itself to use their own style
properties.
Using external .css files will allow developers to
maintain a capi.css, cati.css, web.css, handheld.css,
etc, to make the survey appear in the best format for
each mode. For instance, having a long responselist
wrap columns is good for capi, but a handheld would be
better suited with a single scrollable list.
Using inline style="" attributes will allow developers
to specify a style for a component regardless of mode.
For instance, a certain question requiring a
horizontally oriented response list would sue <resp
style="orientation: horizontal;">