You are here: User interface > User interface rules > Harness, Section, and Flow Action forms > Smart Label Properties - Presentation tab

Smart Label Properties — Presentation tab

Click the View properties icon in the cell containing the Smart Label control to display the Properties panel, and select the Presentation tab.

Field

Description

Edit Options Select an edit mode for this control. The edit mode of the control, specified here, takes precedence over section and harness settings.
  • Auto — the control uses the edit mode of the section or harness in which it appears. If the section is set to Read Only, then the control is Read Only. If the section is set to Auto, then the control uses the edit mode of the harness. For example, a New harness is editable, while a Review harness is read only.
  • Read Only (expression) — the property value is presented in read-only mode based on an expression, even when the enclosing layout is in read-write mode.

    In the field that appears, select an expression. Click the gear icon to display a form where you can create an expression.

  • Read Only (when rule) — the property value is presented in read-only mode always, or based on a when condition, even when the enclosing layout is in read-write mode.

    In the field that appears, select a When condition. Click the Open icon to create a new one.

  • Editable — the control is editable, regardless of the edit mode of the enclosing layout.
Advanced Presentation Options

Instead of creating a new custom format in the skin, you can adjust elements in a cell by applying Cascading Style Sheet (CSS) helper classes. For example, you can use a CSS helper class to center an element in a cell or to double the standard right margin for the element.

  • Cell read-write classes – Click the Open helper class picker icon to specify one or more CSS helper classes to apply to this cell when the form is displayed in read-write mode. You can enter several helper classes, separated by a space. Alternatively, you can enter the name of a custom style to apply to this cell.

  • Cell read-only classes – Click the Open helper class picker icon to specify one or more CSS helper classes to apply to this cell when the form is displayed in read-only mode. You can enter several helper classes, separated by a space. Alternatively, you can enter the name of a custom style to apply to this cell.

  • Inline style (not for production use) – You can use this field to define an inline style by entering CSS code. However, entering an inline style results in a guardrail warning. For maintainability and reuse, the recommended approach is to use read-write or read-only classes.

For more information, see CSS helper classes.