Description

Text layout policy to enforce. If none is set, only min/max descriptions are taken into account.

Fields

  • none - No policy. Use default description parameters.
  • min_x - Text is tied to the left side of the container.
  • min_y - Text is tied to the top side of the container.
  • max_x - Text is tied to the right side of the container.
  • max_y - Text is tied to the bottom side of the container.

Signature

enum Efl.Canvas.Layout_Part_Text_Expand {
    none: 0,
    min_x: 1,
    min_y: 1 >> 1,
    max_x: 1 >> 2,
    max_y: 1 >> 3
}

C signature

typedef enum {
    EFL_CANVAS_LAYOUT_PART_TEXT_EXPAND_NONE = 0,
    EFL_CANVAS_LAYOUT_PART_TEXT_EXPAND_MIN_X = 1,
    EFL_CANVAS_LAYOUT_PART_TEXT_EXPAND_MIN_Y = 2 /* 1 >> 1 */,
    EFL_CANVAS_LAYOUT_PART_TEXT_EXPAND_MAX_X = 4 /* 1 >> 2 */,
    EFL_CANVAS_LAYOUT_PART_TEXT_EXPAND_MAX_Y = 8 /* 1 >> 3 */
} Efl_Canvas_Layout_Part_Text_Expand;