PPGItem.LabelPercentage operator

Introduced

v4.0

Description

Returns or sets a Long value representing the width of the label of a control, in terms of its percentage of the control's total width. When not specified Softimage uses its own heuristic, but this can be useful to give a hint when tweaking the layout. For example this can be useful to force a long label onto multiple lines rather than squish the controls.

To completely hide a label use the siUINoLabel or siValueOnly UI Attribute (see siPPGItemAttribute).

This property should always be used in conjunction with PPGItem.LabelMinPixels.

C# Syntax

// get accessor
Int32 rtn = PPGItem.LabelPercentage;
// set accessor
PPGItem.LabelPercentage = Int32;

See Also

PPGItem.LabelMinPixels PPGItem.WidthPercentage PPGItem.GetAttribute