Button layout

Description

Defines the layout for the show disclosure button.

images/blay.png
The Button layout property

For more information on how to add built-in SVG images to a ControlBar see '[Adding a Button to a ControlBar]'. The options for the Button layout property are as follows:

  • Text only

    Text only displays the button as text. The text to be displayed can be defined in the Button text property.

    images/blay2.png
  • Image only

    Image only displays an image for a button. The image can be set using the 'Icon' property. There are multiple ways of defining images for a ControlBar using this property. Using SVG is highly recommended and a number of pre-built SVG icons are available if the 'Style name' property on the properties page is set to 'Alpha'. It is also possible to use system icons and project images.

    images/blay3.png
  • Text followed by Image

    This option displays both text and an image on a button. The text is displayed before the image.

    images/blay4.png
  • Image followed by text

    This option produces a button with both an image and text. The text is displayed after the image.

    images/blay5.png
  • Image above text

    This option produces a button with an image and text. The image is displayed above the text.

    images/blay6.png
  • Text above image

    This option produces a button with both an image and text. The text is displayed above the image.

    images/blay7.png
  • Text left & image right

    This option produces a button with both an image and text. The text is aligned to the left side of the button. The image is aligned to the right side. This is most noticeable in wide buttons.

    images/blay8.png
  • Image left & text right

    This option produces a button with both an image and text. The image is aligned to the left side of the button. The text is aligned to the right side. This is most noticeable in wide buttons.

    images/blay9.png