Preface Introduction Topic index Glossary

# Look Alignment flags

Look Alignment flags Bevel flags MyBackground MyFrame MyStyle Suported hints Titlebar layout

- ### CONFIGURATION OPTIONS :

  Bottom

    Align contents to the bottom of the widget.

  Center

    Align contents to the center of the widget. This is the same as combination of all of the Left,Right,Bottom,Top

  HCenter

    Horizontally align contents to the center. Same as combination of Left,Right.

  HScaled

    Scale contents to the width of the widget. If used in combination with LabelWidth - width of the text will be used insted of the width of the widget.

  HTiled

    Tiles image to fill entire widget's width.

  LabelHeight

    Has to be appplied to background image of the widget - it will cause this image to be resized (tiled or scaled) to the height of the widget's label (such as titlebar text).

  LabelSize

    Same as the combination of LabelWidth,LabelHeight.

  LabelWidth

    Has to be appplied to background image of the widget - it will cause this image to be resized (tiled or scaled) to the width of the widget's label (such as titlebar text).

  Left

    Aligns image, text or block of buttons to the left of the widget.

  None

    FIXME: add proper description here.

  Right

    Aligns image, text or block of buttons to the right of the widget.

  Top

    Aligns image, text or block of buttons to the top of the widget.

  VCenter

    Vertically align contents to the center. Same as combination of Top,Bottom.

  VScaled

    Scale contents to the height of the widget. If used in combination with LabelHeight - height of the text will be used insted of the height of the widget.

  VTiled

    Tiles image to fill entire widget's height.

Align flags specify how contents of the widget should be aligned. Each widget is divided into the grid of 8x8 cells. Each of widget's visible items occupy one of the cells. Widget attempts to determine the size of each row and column, by using size of visible elements that occupy it's cells and its align flags.

Note that some visible items ( such as icons, images, text, buttons ) may occupy same cell that affecting the size of it.

Preface Introduction Topic index Glossary Back to Top

AfterStep version 2.2.12