width

width = number;


Specify the width of a tile.


This attribute specifies the minimum width of a tile. The width is automatically changed by the program unless established by the fixed_width attribute.

In general, use the width attribute with the image and image_button tiles. For other tiles, do not use this attribute unless you need to improve the appearance of the dialog box.

number: any real number or integer in units of character width. The "character width unit" is the lessor of either:

    • the width of the screen divided by 80,
    • or, the average width of all uppercase and lowercase characters (A - Z, a - z).

Example

width = 40;

NOTE The aspect_ratio attribute is used with either the height or width attribute. Do not use the aspect_ratio attribute when using both height and width.

Valid Tiles

all tiles

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes