height_rel

Overview

Overwrites Element.height - if you want finer control over the final height, use Element.height_add or Element.min_height.

Values

Default value: nil

Valid values: nil, number between 0 and 1

If not nil, automatically adjusts element height based on parent.height as a decimal (the percentage / 100)

e.g: * 1 = 100% of the parent height * 0.5 means 50%