Versions Compared
Version | Old Version 1 | New Version 2 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Setting Properties to Enumeration Values in XML
UI5 implements a convenient mechanism that helps you setting properties of controls or other elements to values from an enumeration in XML. However this feature could confuse you, if you don't know that it exists. To set a value from the enumeration graphomate.ui.charts.enums.LabelPositioningMode, for example, you only have to assign the preferred enumeration's key to the chart's attribute without using any prefix for the enumeration.
Code Block | ||||
---|---|---|---|---|
| ||||
<charts:Chart fontSize="10" ... labelPositioningMode="None"> </charts:Chart> |
UI5 Inspector for Google Chrome
The UI5 Inspector helps you to debug your UI5 application. It enables you to browse the controls and containers of the UI5 tree and review their properties, bindings and models. Moreover it allows you to modify control properties on the fly and see how they affect your application. The Chrome extension from SAP can be downloaded here. After installing the extension it adds an extra tab to your dev tools (f12).