Description

Aspect types/policies for scaling size hints.

See also Efl.Gfx.Hint.hint_aspect.

Since 1.23

Fields

  • none - No preference on either direction of the container for aspect ratio control.
  • neither - Same effect as disabling aspect ratio preference
  • horizontal - Use all horizontal container space to place an object, using the given aspect.
  • vertical - Use all vertical container space to place an object, using the given aspect.
  • both - Use all horizontal and vertical container spaces to place an object (never growing it out of those bounds), using the given aspect.

Signature

enum Efl.Gfx.Hint_Aspect {
    none: 0,
    neither: 1,
    horizontal: 2,
    vertical: 3,
    both: 4
}

C signature