tsc_UiCellLayout

This enumeration controls how an image and some text share the space within a tsc_UiCell.

enum tsc_UiCellLayout
{
    tsc_UiCellIcon,
    tsc_UiCellBackground
};

Enumeration members

tsc_UiCellIcon
The image is treated as an Icon to be displayed to the left of the text.  The text is moved right by the width of the image, plus a few pixels for separation.  The cell's width is not affected and anything extending beyond the right or the bottom of the cell is clipped.  For the purposes of cell width calculation (eg, for automatic width calculations), the width of the image is included in the cell's width.

tsc_UiCellBackground
The image is drawn in the cell, then the text is drawn on top.  The top-left of the image is aligned to the top-left of the cell and any part that extends beyond the right or the bottom of the cell is clipped.  The size of the image does not affect any cell size calculations.