"uniformRowHeights"

Defines if all items in the widget have the same height.

Synopsis

shape.uniformRowHeights(float limit);

Parameters

Parameter Description
limit Upper limit of the value range.

Description

Defines if all items in the widget have the same height. The height of the first item is used as default height. This property shall only be set if it is guaranteed that all items have the same height.

Example

In the following example a upper limit of 150 is defined.

main()
{
  this.uniformRowHeights(150);
}

Assignment

dpTreeView, dpTypeView, Tree widget