Wednesday, May 24, 2017

sapUiSizeCozy vs sapUiSizeCompact



Content Density
CSS Class
Explanation
Cozy
sapUiSizeCozy
'Large' design: Dimensions of the controls are optimized for touch-enabled devices, such as smartphones, to allow users to interact with controls more easily.
This is the default density for most controls, particularly those in the sap.m library.
Compact
sapUiSizeCompact
Reduced-size design: The font size is the same as for the cozy density, but the dimensions of the controls and the spacing between them are reduced. This density is more suitable for mouse-operated devices, such as desktops.


Cozy Density: Mainly for Touch Devices (e.g. Smartphones)


Compact Density: Mainly for Mouse-Operated Devices (e.g. Desktops)

No comments:

Post a Comment