Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Experimental: this API is experimental and might be changed or removed in the future.

VisualElement.MeasureMode.Exactly

Description

The element should give the width/height that is passed in and derive the opposite site from this value (for example, calculate text size from a fixed width).

See Also: MeasureMode.

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