Dali 3D User Interface Engine
Namespaces | Enumerations | Variables
Dali::ResizePolicy Namespace Reference

Size negotiation resize policies .0. More...

Namespaces

namespace  anonymous_namespace{actor-impl.cpp}
 

Enumerations

enum  Type {
  FIXED, USE_NATURAL_SIZE, FILL_TO_PARENT, SIZE_RELATIVE_TO_PARENT,
  SIZE_FIXED_OFFSET_FROM_PARENT, FIT_TO_CHILDREN, DIMENSION_DEPENDENCY, USE_ASSIGNED_SIZE
}
 

Variables

const Type DEFAULT = USE_NATURAL_SIZE
 Default resize policy. More...
 

Detailed Description

Size negotiation resize policies .0.

Enumeration Type Documentation

Enumerator
FIXED 

Size is fixed as set by SetSize .0.

USE_NATURAL_SIZE 

Size is to use the actor's natural size .0.

FILL_TO_PARENT 

Size is to fill up to the actor's parent's bounds. Aspect ratio is not maintained. .0.

SIZE_RELATIVE_TO_PARENT 

The actors size will be ( ParentSize * SizeRelativeToParentFactor ). .0.

SIZE_FIXED_OFFSET_FROM_PARENT 

The actors size will be ( ParentSize + SizeRelativeToParentFactor ). .0.

FIT_TO_CHILDREN 

Size will adjust to wrap around all children .0.

DIMENSION_DEPENDENCY 

One dimension is dependent on the other .0.

USE_ASSIGNED_SIZE 

The size will be assigned to the actor .0.

Definition at line 81 of file actor-enumerations.h.

Variable Documentation

const Type Dali::ResizePolicy::DEFAULT = USE_NATURAL_SIZE
Dali Docs Home
Read more about Dali