Skip to main content
Skip table of contents

Configuring the Menu Width

The width of a Web application's menu can be defined in the .wad file using the attributes of the Menu element. The Menu element is a direct child element of the WebApp root element.


Possible Attributes

Attribute

Description

unit

Unit for the value specified in attribute width.

Possible values: 

  • pixels: Specification in pixels
  • percents: Specification in percent
If no unit is defined, the specified value for width is interpreted as pixel 
width

Menu width

Possible values:

  • Any integer 
  • auto: Automatic width, which is automatically calculated based on the defined menu items

Sample configuration for the menu width

XML
<WebApp xmlns="http://softproject.de/webapp/1.0">
	  ...
	  <Menu width="30" unit="percents"/>
	  <Modules>
		    ...
	  </Modules>
</WebApp>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.