actionbuttonstyle (Domino DTD)

Represents the style settings for buttons in the action bar.

Containment Hierarchy

Contained by: <actionbar>

Contains: <imageref>

Syntax

<!ELEMENT actionbuttonstyle ( imageref? )>

Content

imageref?

Contains an optional <imageref> element.

Attributes

<!ATTLIST actionbuttonstyle

bgcolor

%color;

#IMPLIED

heighttype

(%actionbutton.height.types;)

"default"

height

%integer;

#IMPLIED

widthtype

(%actionbutton.width.types;)

"default"

margintype

(actionbutton.margin.types;)

"default"

margin

%integer;

#IMPLIED

displayborder

(%actionbutton.displayborder.types;)

"onmouseover"

>

bgcolor

Background color of the buttons.

displayborder

Defines when to display the button border. The options are listed in the %actionbutton.displayborder.types; entity.

height

Height of the action button measured in pixels. This attribute displays only when the heighttype attribute equals fixed.

heighttype

Action button height options, as defined in the %actionbutton.height.types; entity.

margin

Size of the action bar margin measured in pixels. This attribute displays only when the margintype attribute equals fixed.

margintype

Action button margin types, as defined in the %actionbutton.margin.types; entity.

widthtype

Action button width options, as defined in the %actionbutton.width.types; entity.

Defined entities for <actionbuttonstyle> element

The %actionbutton.height.types; entity defines the height options for buttons in the action bar.

Syntax:

<!ENTITY %actionbutton.height.types "default | minimum | fixed | background">

background

Heightens the button to fit its label. A button height might exceed the 27 pixel default size when, for instance, an increased font size is applied to the button label text.

default

By default, the button height is approximately 27 pixels.

fixed

Enables a user to assign a fixed height (in pixels) to the buttons.

minimum

Applies the shortest height possible to a button without compromising its label content.

The %actionbutton.width.types; entity defines the width options for action buttons.

Syntax:

<!ENTITY %actionbutton.width.types "default | background">

background

Widens or narrows the button width to fit the label it displays.

default

By default, the button width adjusts to fit the text or image label it displays. For a button with a label that has an image and a seven-character word, its width is approximately 63 pixels. Any additional buttons created borrow the width of the first button. If the first button contains a short text label, and you later create a button with a longer label, some of the label text may not display.

The %actionbutton.margin.types; entity defines the types of margins for action buttons.

Syntax:

<!ENTITY %actionbutton.margin.types "default | fixed">

default

By default, the margin size is approximately 2 pixels.

fixed

Enables a user to set a fixed margin size (in pixels) to the buttons.

The %actionbutton.displayborder.types; entity defines when to display the borders of an action button.

Syntax:

<!ENTITY %actionbutton.displayborder.types "onmouseover | always | never">

Example