Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Example:

Code Block
languageactionscript3js
CLCR.registerCmp({

	"CONFIG": "APPLICATION_LAYOUT",
	"LAYOUT": "UTKARSH"

}, canvas.applnlayout.utkarsh.component); 

The newly customized layout has to be set in systempreferences.properties file. The layout common for desktop, mobile, and tablet must be specified in APPLICATION_LAYOUTTYPE. If the layout requirement differs for mobile and tablet from desktop, then the mobile layout must be specified in M_APPLICATION_LAYOUTTYPE and tablet layout must be specified in T_APPLICATION_LAYOUTTYPE. In the example, let's look at the steps to create a custom application layout called, 'UTKARSH'.

Code Block
languageactionscript3bash
# This property will define the application layout. 
# Possible values for this property are as follows:
# "TAB" or "CARD" or "EXCARD" or "APP" or "TABLE_TOP" or "MENU"

APPLICATION_LAYOUTTYPE=CARD #application layout for desktop
M_APPLICATION_LAYOUTTYPE=UTKARSH #application layout for mobile
T_APPLICATION_LAYOUTTYPE=EXCARD #application layout for tablet

...