In this article:

Setting Up Title Bar Formatting

Setting Up Navigation Bar Formatting

Setting Up Business Application Formatting

Setting Up Layout and Formatting

Layout and formatting in the business application can be set up on the Layout and Formatting page in the designer of business application.

Open the designer

Set up displaying of the navigation bar and title bar in the Layout section:

NOTE. Title bar is available only in Windows OS.

The following formatting settings are available in the designer of business application:

NOTE. Title bar formatting setup is also available during general formatting setup of business application using a CSS file. Note that if you connect a CSS file on the Layout and Formatting page, custom formatting will be applied only for the configured business application. If you connect via the DBA.config.json file, custom formatting will be applied for all business applications in the repository.

If required, the files loaded for setting up layout and formatting of bars in business application can be used as external event handlers. The external event handler occurs on closing an object included in the business application and is set in the onCloseQuery field in the DBA.config.json file.

After setting up layout and formatting of business application set up menu structure.

Setting Up Title Bar Formatting

To set up title bar formatting:

  1. Select the layout option in the Layout section:

  2. Add title bar formatting files in the JS, CSS, HTM/HTML format in the Load Files section.

NOTE. The loaded files can contain several title formatting options.

  1. Set parameters in the Set Up Title Bar Formatting section:

After executing the operations the title bar with configured formatting is displayed on opening the business application.

To save the specified settings, click the Finish button. After the button is clicked, the designer closes.

Setting Up Navigation Bar Formatting

To set up navigation bar formatting:

  1. Select the layout option in the Layout section:

  1. Set the parameters in the Set Up Navigation Bar Formatting section:

If the checkbox is selected, icons can be loaded for each menu item in the Formatting section on the Menu Structure page in the designer of business application. Icons can be loaded only for menu items of the first and the second levels of navigation structure. If a custom icon is not loaded for the element, the default icon will be displayed.

To access second-level elements when the navigation bar is collapsed, hover the cursor on the icon of the required first-level element, after which a popup panel with its child elements is displayed. Displaying icons of second-level elements on the popup panel depends on the state of the Disable Displaying of Hierarchy Second-Level Icons checkbox.

After executing the operations on opening the business application in the web interface the navigation bar with configured formatting is displayed.

To save the specified settings, click the Finish button. After the button is clicked, the designer closes.

Examples of displaying navigation bar in Windows OS

Setting Up Business Application Formatting

NOTE. It is relevant only on opening the business application in Windows OS.

The following elements can be edited to set up formatting of designer of business application:

"externalCss":["assets/<CSS file name>.css"]
	

After executing the operations, custom formatting is set for all business applications in the repository.

Example of setting up formatting by means of a CSS file

"pageMetadataLogo": "assets/design/img/<PNG file name>.png"
	
"mainMenuLogo": "assets/design/img/<PNG file name>.png"
	
"mainMenuLogoMini": "assets/design/img/<PNG file name>.png"
	

NOTE. Custom class icons cannot be edited.

"breadcrumbRootTitle": "<business application tab name>"
	

See also:

Building Business Application in the Desktop Application | Setting Up Menu Structure