Assessing layout-sensitive changes
Certain style attributes are layout-sensitive, as changing their values can affect the layout of already created views. If you have created and applied a new style sheet that contains styles with attribute values different from those used previously, you need to follow the procedure below to assess and either confirm or deny the changes.
- Omitting this procedure means the modeling tool will not implement the updates of the new style and retain the previous attribute values, i.e., the symbols will be represented in the old style.
- The assessment does not affect customizations made to individual symbols via the Symbol Style dialog. See the Resetting changes made in the Symbol Style dialog procedure on the (2026x Refresh1) Modifying styles of individual symbols page.
Follow the procedure below if your project already contains views with displayed symbols and the style sheet contains updated values of the following attributes:
- General style attributes: font, wrap, textVerticalPosition, textHorizontalPosition, lineStyle, orientation, isRounded, pathStyle, showPayload.
- Compartment style attributes: showCompartment, showShortName, showName, showFullText, showSpecialization, showQualifiedNameForSpecialization, showModifiers, showValue, showInheritedSign, showInherited, showOnlyOwned.
The Symbol Style dialog displays the highlighted rows of the updated attributes after applying a new style sheet within which the values of layout-sensitive attributes are updated.
At the top of the dialog, a notification provides commands for either using the new style or retaining the old one.
Assessing layout-sensitive changes
To assess layout-sensitive changes
Prerequisites
- The style sheet is created and applied.
- The project is refreshed:
- Press the F5 key on the keyboard.
- In the main toolbar, click View > Refresh.
- In a view, right-click the affected symbol(s).
- In the shortcut menu, click Symbol Style. The Symbol Style dialog opens.
- Review the affected attributes in the highlighted rows. The rows display the old attribute values.
- In the notification at the top of the dialog, click one of the following commands:
- Use the new style - implements the updated attribute values and displays the symbol in the new style.
- Retain the old style - does not implement the updated attribute values and displays the symbol in the old style.
Undoing the command
- To undo the Retain the old style command for a single attribute:
- Switch to the new style by selecting the check box in the Default column for the specific attribute.
- To undo either the Retain the old style or Use the new style command for all attributes, do one of the following:
- Press Ctrl+Z on the keyboard.
- In the main menu, click Edit > Undo.
- To undo the Retain the old style command for a single attribute:
- Click Close.
Some elements can only be displayed in their appropriate compartments. If the compartment is suppressed, display it to see the elements. See the Compartments page.