Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

According to SAP UI5 Experience site, SAPUI5 provides a “content density” factor, which allows the size of the controls to be adjusted depending on the interaction style.

  1. The cozy factor displays controls with dimensions large enough to enable fingertip interaction. This factor is ideal for devices operated by touch.

  1. The compact factor reduces the dimensions of the controls, allowing more information to be displayed on the UI. This factor is ideal for devices operated by mouse and keyboard.

This can be implemented in IQX FAB as following:

For Cozy Factor:

Cozy Factor
thisFormsController.getView().addStyleClass("sapUiSizeCozy");


For Compact Factor:

Compact Factor
thisFormsController.getView().addStyleClass("sapUiSizeCompact");
  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.