Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#

ILayoutElement.preferredWidth

public float preferredWidth;

Description

The preferred width this layout element should be allocated if there is sufficient space.

preferredWidth can be set to -1 to remove the size.

Did you find this page useful? Please give it a rating: