Style editor: Difference between revisions

Jump to navigation Jump to search
Line 106: Line 106:
The style name can be more important than one would expect. Particular substrings within the style name can impact how a style is used.
The style name can be more important than one would expect. Particular substrings within the style name can impact how a style is used.
* <code>*Grid</code>: On a view, style with the name suffix "Grid" is used when you enable single-row layout ([[View#Properties_pane|Auto Grid]]). For example, if a field on the view uses "primary" style normally, it switches to "primaryGrid" in single-row layout.
* <code>*Grid</code>: On a view, style with the name suffix "Grid" is used when you enable single-row layout ([[View#Properties_pane|Auto Grid]]). For example, if a field on the view uses "primary" style normally, it switches to "primaryGrid" in single-row layout.
* <code>*Selected</code>: On a view, style with the name suffix "Selected" is used for selected record in the list. For example, if a field on the view uses "primary" style, it switches to "primarySelected" when the record is selected.
* <code>*Selected</code>: On a view, style with the name suffix "Selected" is used for selected record in the list. For example, if a field on the view uses "primary" style, it switches to "primarySelected" when the record is selected. As you can see in the screenshot below, selected style can also apply to the [[home screen]].
 
[[File:Define additional styles with special name suffix.png|600px]]
 
[[File:Styles in action.png|600px]]


== Questionnaire Designer ==
== Questionnaire Designer ==

Navigation menu