# Style Properties (/common-widget-features/styles/style-properties)



<StyleProperty name="width" default="Widget dependent" inherited="false" layout="true" extDraw="false">
  Sets width of Widget. Pixel, percentage and `LV_SIZE_CONTENT` values can be used.
  Percentage values are relative to the width of the parent's content area.
</StyleProperty>

<StyleProperty name="min_width" default="0" inherited="false" layout="true" extDraw="false">
  Sets a minimal width. Pixel and percentage values can be used. Percentage values
  are relative to the width of the parent's content area.
</StyleProperty>

<StyleProperty name="max_width" default="LV_COORD_MAX" inherited="false" layout="true" extDraw="false">
  Sets a maximal width. Pixel and percentage values can be used. Percentage values
  are relative to the width of the parent's content area.
</StyleProperty>

<StyleProperty name="height" default="Widget dependent" inherited="false" layout="true" extDraw="false">
  Sets height of Widget. Pixel, percentage and `LV_SIZE_CONTENT` can be used.
  Percentage values are relative to the height of the parent's content area.
</StyleProperty>

<StyleProperty name="min_height" default="0" inherited="false" layout="true" extDraw="false">
  Sets a minimal height. Pixel and percentage values can be used. Percentage values
  are relative to the height of the parent's content area.
</StyleProperty>

<StyleProperty name="max_height" default="LV_COORD_MAX" inherited="false" layout="true" extDraw="false">
  Sets a maximal height. Pixel and percentage values can be used. Percentage values
  are relative to the height of the parent's content area.
</StyleProperty>

<StyleProperty name="length" default="0" inherited="false" layout="false" extDraw="true">
  Its meaning depends on the type of Widget. For example in case of lv\_scale it means
  the length of the ticks.
</StyleProperty>

<StyleProperty name="align" default="`LV_ALIGN_DEFAULT`" inherited="false" layout="true" extDraw="false">
  Set the alignment which tells from which point of the parent the X and Y
  coordinates should be interpreted. Possible values are: `LV_ALIGN_DEFAULT`,
  `LV_ALIGN_TOP_LEFT/MID/RIGHT`, `LV_ALIGN_BOTTOM_LEFT/MID/RIGHT`,
  `LV_ALIGN_LEFT/RIGHT_MID`, `LV_ALIGN_CENTER`. `LV_ALIGN_DEFAULT` means
  `LV_ALIGN_TOP_LEFT` with LTR base direction and `LV_ALIGN_TOP_RIGHT` with RTL base
  direction.
</StyleProperty>

<StyleProperty name="transform_width" default="0" inherited="false" layout="false" extDraw="true">
  Make Widget wider on both sides with this value. Pixel and percentage (with
  `lv_pct(x)`) values can be used. Percentage values are relative to Widget's width.
</StyleProperty>

<StyleProperty name="transform_height" default="0" inherited="false" layout="false" extDraw="true">
  Make Widget higher on both sides with this value. Pixel and percentage (with
  `lv_pct(x)`) values can be used. Percentage values are relative to Widget's height.
</StyleProperty>

<StyleProperty name="translate_x" default="0" inherited="false" layout="true" extDraw="false">
  Move Widget with this value in X direction. Applied after layouts, aligns and other
  positioning. Pixel and percentage (with `lv_pct(x)`) values can be used. Percentage
  values are relative to Widget's width.
</StyleProperty>

<StyleProperty name="translate_y" default="0" inherited="false" layout="true" extDraw="false">
  Move Widget with this value in Y direction. Applied after layouts, aligns and other
  positioning. Pixel and percentage (with `lv_pct(x)`) values can be used. Percentage
  values are relative to Widget's height.
</StyleProperty>

<StyleProperty name="translate_radial" default="0" inherited="false" layout="true" extDraw="false">
  Move object around the centre of the parent object (e.g. around the circumference
  of a scale).
</StyleProperty>

<StyleProperty name="transform_scale_x" default="0" inherited="false" layout="true" extDraw="true">
  Zoom Widget horizontally. The value 256 (or `LV_SCALE_NONE`) means normal size, 128
  half size, 512 double size, and so on.
</StyleProperty>

<StyleProperty name="transform_scale_y" default="0" inherited="false" layout="true" extDraw="true">
  Zoom Widget vertically. The value 256 (or `LV_SCALE_NONE`) means normal size, 128
  half size, 512 double size, and so on.
</StyleProperty>

<StyleProperty name="transform_rotation" default="0" inherited="false" layout="true" extDraw="true">
  Rotate Widget. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg.
</StyleProperty>

<StyleProperty name="transform_pivot_x" default="0" inherited="false" layout="false" extDraw="false">
  Set pivot point's X coordinate for transformations. Relative to Widget's top left corner.
</StyleProperty>

<StyleProperty name="transform_pivot_y" default="0" inherited="false" layout="false" extDraw="false">
  Set pivot point's Y coordinate for transformations. Relative to Widget's top left corner.
</StyleProperty>

<StyleProperty name="transform_skew_x" default="0" inherited="false" layout="true" extDraw="true">
  Skew Widget horizontally. The value is interpreted in 0.1 degree units. E.g. 450
  means 45 deg.
</StyleProperty>

<StyleProperty name="transform_skew_y" default="0" inherited="false" layout="true" extDraw="true">
  Skew Widget vertically. The value is interpreted in 0.1 degree units. E.g. 450 means 45 deg.
</StyleProperty>

<StyleProperty name="pad_top" default="0" inherited="false" layout="true" extDraw="false">
  Sets the padding on the top. It makes the content area smaller in this direction.
</StyleProperty>

<StyleProperty name="pad_bottom" default="0" inherited="false" layout="true" extDraw="false">
  Sets the padding on the bottom. It makes the content area smaller in this direction.
</StyleProperty>

<StyleProperty name="pad_left" default="0" inherited="false" layout="true" extDraw="false">
  Sets the padding on the left. It makes the content area smaller in this direction.
</StyleProperty>

<StyleProperty name="pad_right" default="0" inherited="false" layout="true" extDraw="false">
  Sets the padding on the right. It makes the content area smaller in this direction.
</StyleProperty>

<StyleProperty name="pad_row" default="0" inherited="false" layout="true" extDraw="false">
  Sets the padding between the rows. Used by the layouts.
</StyleProperty>

<StyleProperty name="pad_column" default="0" inherited="false" layout="true" extDraw="false">
  Sets the padding between the columns. Used by the layouts.
</StyleProperty>

<StyleProperty name="pad_radial" default="0" inherited="false" layout="false" extDraw="false">
  Pad text labels away from the scale ticks/remainder of the `LV_PART_`.
</StyleProperty>

<StyleProperty name="margin_top" default="0" inherited="false" layout="true" extDraw="false">
  Sets margin on the top. Widget will keep this space from its siblings in layouts.
</StyleProperty>

<StyleProperty name="margin_bottom" default="0" inherited="false" layout="true" extDraw="false">
  Sets margin on the bottom. Widget will keep this space from its siblings in layouts.
</StyleProperty>

<StyleProperty name="margin_left" default="0" inherited="false" layout="true" extDraw="false">
  Sets margin on the left. Widget will keep this space from its siblings in layouts.
</StyleProperty>

<StyleProperty name="margin_right" default="0" inherited="false" layout="true" extDraw="false">
  Sets margin on the right. Widget will keep this space from its siblings in layouts.
</StyleProperty>

<StyleProperty name="bg_color" default="`0xffffff`" inherited="false" layout="false" extDraw="false">
  Set background color of Widget.
</StyleProperty>

<StyleProperty name="bg_opa" default="`LV_OPA_TRANSP`" inherited="false" layout="false" extDraw="false">
  Set opacity of the background. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means fully
  transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other values
  or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="bg_grad_color" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set gradient color of the background. Used only if `grad_dir` is not `LV_GRAD_DIR_NONE`.
</StyleProperty>

<StyleProperty name="bg_grad_dir" default="`LV_GRAD_DIR_NONE`" inherited="false" layout="false" extDraw="false">
  Set direction of the gradient of the background. Possible values are
  `LV_GRAD_DIR_NONE/HOR/VER`.
</StyleProperty>

<StyleProperty name="bg_main_stop" default="0" inherited="false" layout="false" extDraw="false">
  Set point from which background color should start for gradients. 0 means to
  top/left side, 255 the bottom/right side, 128 the center, and so on.
</StyleProperty>

<StyleProperty name="bg_grad_stop" default="255" inherited="false" layout="false" extDraw="false">
  Set point from which background's gradient color should start. 0 means to top/left
  side, 255 the bottom/right side, 128 the center, and so on.
</StyleProperty>

<StyleProperty name="bg_main_opa" default="255" inherited="false" layout="false" extDraw="false">
  Set opacity of the first gradient color.
</StyleProperty>

<StyleProperty name="bg_grad_opa" default="255" inherited="false" layout="false" extDraw="false">
  Set opacity of the second gradient color.
</StyleProperty>

<StyleProperty name="bg_grad" default="`NULL`" inherited="false" layout="false" extDraw="false">
  Set gradient definition. The pointed instance must exist while Widget is alive.
  NULL to disable. It wraps `BG_GRAD_COLOR`, `BG_GRAD_DIR`, `BG_MAIN_STOP` and
  `BG_GRAD_STOP` into one descriptor and allows creating gradients with more colors
  as well. If it's set other gradient related properties will be ignored.
</StyleProperty>

<StyleProperty name="bg_image_src" default="`NULL`" inherited="false" layout="false" extDraw="true">
  Set a background image. Can be a pointer to `lv_image_dsc_t`, a path to a file or
  an `LV_SYMBOL_...`.
</StyleProperty>

<StyleProperty name="bg_image_opa" default="`LV_OPA_COVER`" inherited="false" layout="false" extDraw="false">
  Set opacity of the background image. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means
  fully transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other
  values or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="bg_image_recolor" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set a color to mix to the background image.
</StyleProperty>

<StyleProperty name="bg_image_recolor_opa" default="`LV_OPA_TRANSP`" inherited="false" layout="false" extDraw="false">
  Set intensity of background image recoloring. Value 0, `LV_OPA_0` or
  `LV_OPA_TRANSP` means no mixing, 255, `LV_OPA_100` or `LV_OPA_COVER` means full
  recoloring, other values or LV\_OPA\_10, LV\_OPA\_20, etc are interpreted
  proportionally.
</StyleProperty>

<StyleProperty name="bg_image_tiled" default="0" inherited="false" layout="false" extDraw="false">
  If enabled the background image will be tiled. Possible values are `true` or `false`.
</StyleProperty>

<StyleProperty name="border_color" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set color of the border.
</StyleProperty>

<StyleProperty name="border_opa" default="`LV_OPA_COVER`" inherited="false" layout="false" extDraw="false">
  Set opacity of the border. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means fully
  transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other values
  or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="border_width" default="0" inherited="false" layout="true" extDraw="false">
  Set width of the border. Only pixel values can be used.
</StyleProperty>

<StyleProperty name="border_side" default="`LV_BORDER_SIDE_FULL`" inherited="false" layout="false" extDraw="false">
  Set only which side(s) the border should be drawn. Possible values are
  `LV_BORDER_SIDE_NONE/TOP/BOTTOM/LEFT/RIGHT/INTERNAL`. OR-ed values can be used as
  well, e.g. `LV_BORDER_SIDE_TOP | LV_BORDER_SIDE_LEFT`.
</StyleProperty>

<StyleProperty name="border_post" default="0" inherited="false" layout="false" extDraw="false">
  Sets whether the border should be drawn before or after the children are drawn.
  `true`: after children, `false`: before children.
</StyleProperty>

<StyleProperty name="outline_width" default="0" inherited="false" layout="false" extDraw="true">
  Set width of outline in pixels.
</StyleProperty>

<StyleProperty name="outline_color" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set color of outline.
</StyleProperty>

<StyleProperty name="outline_opa" default="`LV_OPA_COVER`" inherited="false" layout="false" extDraw="true">
  Set opacity of outline. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means fully
  transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other values
  or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="outline_pad" default="0" inherited="false" layout="false" extDraw="true">
  Set padding of outline, i.e. the gap between Widget and the outline.
</StyleProperty>

<StyleProperty name="shadow_width" default="0" inherited="false" layout="false" extDraw="true">
  Set width of the shadow in pixels. The value should be >= 0.
</StyleProperty>

<StyleProperty name="shadow_offset_x" default="0" inherited="false" layout="false" extDraw="true">
  Set an offset on the shadow in pixels in X direction.
</StyleProperty>

<StyleProperty name="shadow_offset_y" default="0" inherited="false" layout="false" extDraw="true">
  Set an offset on the shadow in pixels in Y direction.
</StyleProperty>

<StyleProperty name="shadow_spread" default="0" inherited="false" layout="false" extDraw="true">
  Make shadow calculation to use a larger or smaller rectangle as base. The value can
  be in pixels to make the area larger/smaller.
</StyleProperty>

<StyleProperty name="shadow_color" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set color of shadow.
</StyleProperty>

<StyleProperty name="shadow_opa" default="`LV_OPA_COVER`" inherited="false" layout="false" extDraw="true">
  Set opacity of shadow. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means fully
  transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other values
  or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="image_opa" default="`LV_OPA_COVER`" inherited="false" layout="false" extDraw="false">
  Set opacity of an image. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means fully
  transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other values
  or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="image_recolor" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set color to mix with the image.
</StyleProperty>

<StyleProperty name="image_recolor_opa" default="0" inherited="false" layout="false" extDraw="false">
  Set intensity of color mixing. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means fully
  transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other values
  or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="image_colorkey" default="`NULL`" inherited="false" layout="false" extDraw="false">
  Set image colorkey definition. The lv\_image\_colorkey\_t contains two color values:
  `high_color` and `low_color`. the color of pixels ranging from `low_color` to
  `high_color` will be transparent.
</StyleProperty>

<StyleProperty name="line_width" default="0" inherited="false" layout="false" extDraw="true">
  Set width of lines in pixels.
</StyleProperty>

<StyleProperty name="line_dash_width" default="0" inherited="false" layout="false" extDraw="false">
  Set width of dashes in pixels. Note that dash works only on horizontal and vertical lines.
</StyleProperty>

<StyleProperty name="line_dash_gap" default="0" inherited="false" layout="false" extDraw="false">
  Set gap between dashes in pixels. Note that dash works only on horizontal and vertical lines.
</StyleProperty>

<StyleProperty name="line_rounded" default="0" inherited="false" layout="false" extDraw="false">
  Make end points of the lines rounded. `true`: rounded, `false`: perpendicular line ending.
</StyleProperty>

<StyleProperty name="line_color" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set color of lines.
</StyleProperty>

<StyleProperty name="line_opa" default="`LV_OPA_COVER`" inherited="false" layout="false" extDraw="false">
  Set opacity of lines.
</StyleProperty>

<StyleProperty name="arc_width" default="0" inherited="false" layout="false" extDraw="true">
  Set width (thickness) of arcs in pixels.
</StyleProperty>

<StyleProperty name="arc_rounded" default="0" inherited="false" layout="false" extDraw="false">
  Make end points of arcs rounded. `true`: rounded, `false`: perpendicular line ending.
</StyleProperty>

<StyleProperty name="arc_color" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set color of arc.
</StyleProperty>

<StyleProperty name="arc_opa" default="`LV_OPA_COVER`" inherited="false" layout="false" extDraw="false">
  Set opacity of arcs.
</StyleProperty>

<StyleProperty name="arc_image_src" default="`NULL`" inherited="false" layout="false" extDraw="false">
  Set an image from which arc will be masked out. It's useful to display complex
  effects on the arcs. Can be a pointer to `lv_image_dsc_t` or a path to a file.
</StyleProperty>

<StyleProperty name="text_color" default="`0x000000`" inherited="true" layout="false" extDraw="false">
  Sets color of text.
</StyleProperty>

<StyleProperty name="text_opa" default="`LV_OPA_COVER`" inherited="true" layout="false" extDraw="false">
  Set opacity of text. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means fully
  transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means fully covering, other values
  or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="text_font" default="`LV_FONT_DEFAULT`" inherited="true" layout="true" extDraw="false">
  Set font of text (a pointer `lv_font_t *`).
</StyleProperty>

<StyleProperty name="text_letter_space" default="0" inherited="true" layout="true" extDraw="false">
  Set letter space in pixels.
</StyleProperty>

<StyleProperty name="text_line_space" default="0" inherited="true" layout="true" extDraw="false">
  Set line space in pixels.
</StyleProperty>

<StyleProperty name="text_decor" default="`LV_TEXT_DECOR_NONE`" inherited="true" layout="false" extDraw="false">
  Set decoration for the text. Possible values are
  `LV_TEXT_DECOR_NONE/UNDERLINE/STRIKETHROUGH`. OR-ed values can be used as well.
</StyleProperty>

<StyleProperty name="text_align" default="`LV_TEXT_ALIGN_AUTO`" inherited="true" layout="true" extDraw="false">
  Set how to align the lines of the text. Note that it doesn't align the Widget
  itself, only the lines inside the Widget. Possible values are
  `LV_TEXT_ALIGN_LEFT/CENTER/RIGHT/AUTO`. `LV_TEXT_ALIGN_AUTO` detect the text base
  direction and uses left or right alignment accordingly.
</StyleProperty>

<StyleProperty name="text_outline_stroke_color" default="`0x000000`" inherited="true" layout="false" extDraw="false">
  Sets the color of letter outline stroke.
</StyleProperty>

<StyleProperty name="text_outline_stroke_width" default="0" inherited="true" layout="true" extDraw="false">
  Set the letter outline stroke width in pixels.
</StyleProperty>

<StyleProperty name="text_outline_stroke_opa" default="`LV_OPA_COVER`" inherited="true" layout="false" extDraw="false">
  Set the opacity of the letter outline stroke. Value 0, `LV_OPA_0` or
  `LV_OPA_TRANSP` means fully transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means
  fully covering, other values or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="text_leading_trim" default="`LV_TEXT_LEADING_TRIM_NONE`" inherited="true" layout="true" extDraw="false">
  Set the text leading trim mode. Removes empty space above and/or below text based
  on font metrics (cap-height, x-height, baseline). Similar to CSS `text-box-trim`.
  Possible values are `LV_TEXT_LEADING_TRIM_NONE/CAPITAL_BASELINE/LOWER_BASELINE/CAPITAL/LOWER`.
</StyleProperty>

<StyleProperty name="blur_radius" default="`0`" inherited="false" layout="false" extDraw="false">
  Sets the intensity of blurring. Applied on each lv\_part separately before the
  children are rendered.
</StyleProperty>

<StyleProperty name="blur_backdrop" default="`false`" inherited="false" layout="false" extDraw="false">
  If `true` the background of the widget will be blurred. The part should have \< 100%
  opacity to make it visible. If `false` the given part will be blurred when it's
  rendered but before drawing the children.
</StyleProperty>

<StyleProperty name="blur_quality" default="`LV_BLUR_QUALITY_AUTO`" inherited="false" layout="false" extDraw="false">
  Setting to `LV_BLUR_QUALITY_SPEED` the blurring algorithm will prefer speed over
  quality. `LV_BLUR_QUALITY_PRECISION` will force using higher quality but slower
  blur. With `LV_BLUR_QUALITY_AUTO` the quality will be selected automatically.
</StyleProperty>

<StyleProperty name="drop_shadow_radius" default="`0`" inherited="false" layout="false" extDraw="true">
  Sets the intensity of blurring. Applied on each lv\_part separately before the
  children are rendered.
</StyleProperty>

<StyleProperty name="drop_shadow_offset_x" default="`0`" inherited="false" layout="false" extDraw="true">
  Set an offset on the shadow in pixels in X direction.
</StyleProperty>

<StyleProperty name="drop_shadow_offset_y" default="`0`" inherited="false" layout="false" extDraw="true">
  Set an offset on the shadow in pixels in Y direction.
</StyleProperty>

<StyleProperty name="drop_shadow_color" default="`0`" inherited="false" layout="false" extDraw="false">
  Set the color of the shadow.
</StyleProperty>

<StyleProperty name="drop_shadow_opa" default="`0`" inherited="false" layout="false" extDraw="false">
  Set the opacity of the shadow.
</StyleProperty>

<StyleProperty name="drop_shadow_quality" default="`LV_BLUR_QUALITY_PRECISION`" inherited="false" layout="false" extDraw="false">
  Setting to `LV_BLUR_QUALITY_SPEED` the blurring algorithm will prefer speed over
  quality. `LV_BLUR_QUALITY_PRECISION` will force using higher quality but slower
  blur. With `LV_BLUR_QUALITY_AUTO` the quality will be selected automatically.
</StyleProperty>

<StyleProperty name="radius" default="0" inherited="false" layout="false" extDraw="false">
  Set radius on every corner. The value is interpreted in pixels (>= 0) or
  `LV_RADIUS_CIRCLE` for max radius.
</StyleProperty>

<StyleProperty name="radial_offset" default="0" inherited="false" layout="false" extDraw="false">
  Move start point of object (e.g. scale tick) radially.
</StyleProperty>

<StyleProperty name="clip_corner" default="0" inherited="false" layout="false" extDraw="false">
  Enable clipping of content that overflows rounded corners of parent Widget. Can be
  `true` or `false`.
</StyleProperty>

<StyleProperty name="opa" default="`LV_OPA_COVER`" inherited="true" layout="false" extDraw="false">
  Scale down all opacity values of the Widget by this factor. Value 0, `LV_OPA_0` or
  `LV_OPA_TRANSP` means fully transparent, 255, `LV_OPA_100` or `LV_OPA_COVER` means
  fully covering, other values or LV\_OPA\_10, LV\_OPA\_20, etc means semi transparency.
</StyleProperty>

<StyleProperty name="opa_layered" default="`LV_OPA_COVER`" inherited="true" layout="false" extDraw="false">
  First draw Widget on the layer, then scale down layer opacity factor. Value 0,
  `LV_OPA_0` or `LV_OPA_TRANSP` means fully transparent, 255, `LV_OPA_100` or
  `LV_OPA_COVER` means fully covering, other values or LV\_OPA\_10, LV\_OPA\_20, etc
  means semi transparency.
</StyleProperty>

<StyleProperty name="color_filter_dsc" default="`NULL`" inherited="false" layout="false" extDraw="false">
  Mix a color with all colors of the Widget.
</StyleProperty>

<StyleProperty name="color_filter_opa" default="`LV_OPA_TRANSP`" inherited="false" layout="false" extDraw="false">
  The intensity of mixing of color filter.
</StyleProperty>

<StyleProperty name="recolor" default="`0x000000`" inherited="false" layout="false" extDraw="false">
  Set a color to mix to the obj.
</StyleProperty>

<StyleProperty name="recolor_opa" default="`LV_OPA_TRANSP`" inherited="false" layout="false" extDraw="false">
  Sets the intensity of color mixing. Value 0, `LV_OPA_0` or `LV_OPA_TRANSP` means
  fully transparent. A value of  255, `LV_OPA_100` or `LV_OPA_COVER` means fully
  opaque. Intermediate values like LV\_OPA\_10, LV\_OPA\_20, etc result in
  semi-transparency.
</StyleProperty>

<StyleProperty name="anim" default="`NULL`" inherited="false" layout="false" extDraw="false">
  Animation template for Widget's animation. Should be a pointer to `lv_anim_t`. The
  animation parameters are widget specific, e.g. animation time could be the E.g.
  blink time of the cursor on the Text Area or scroll time of a roller. See Widgets'
  documentation to learn more.
</StyleProperty>

<StyleProperty name="anim_duration" default="0" inherited="false" layout="false" extDraw="false">
  Animation duration in milliseconds. Its meaning is widget specific. E.g. blink time
  of the cursor on the Text Area or scroll time of a roller. See Widgets'
  documentation to learn more.
</StyleProperty>

<StyleProperty name="transition" default="`NULL`" inherited="false" layout="false" extDraw="false">
  An initialized `lv_style_transition_dsc_t` to describe a transition.
</StyleProperty>

<StyleProperty name="blend_mode" default="`LV_BLEND_MODE_NORMAL`" inherited="false" layout="false" extDraw="false">
  Describes how to blend the colors to the background. Possible values are
  `LV_BLEND_MODE_NORMAL/ADDITIVE/SUBTRACTIVE/MULTIPLY/DIFFERENCE`.
</StyleProperty>

<StyleProperty name="layout" default="0" inherited="false" layout="true" extDraw="false">
  Set layout of Widget. Children will be repositioned and resized according to
  policies set for the layout. For possible values see documentation of the layouts.
</StyleProperty>

<StyleProperty name="base_dir" default="`LV_BASE_DIR_AUTO`" inherited="true" layout="true" extDraw="false">
  Set base direction of Widget. Possible values are `LV_BIDI_DIR_LTR/RTL/AUTO`.
</StyleProperty>

<StyleProperty name="bitmap_mask_src" default="`NULL`" inherited="false" layout="false" extDraw="false">
  If set, a layer will be created for the widget and the layer will be masked with
  this A8 bitmap mask.
</StyleProperty>

<StyleProperty name="rotary_sensitivity" default="`256`" inherited="true" layout="false" extDraw="false">
  Adjust sensitivity for rotary encoders in 1/256 unit. It means, 128: slow down the
  rotary to half, 512: speeds up to double, 256: no change.
</StyleProperty>

<StyleProperty name="flex_flow" default="`LV_FLEX_FLOW_NONE`" inherited="false" layout="true" extDraw="false">
  Defines in which direction the flex layout should arrange the children.
</StyleProperty>

<StyleProperty name="flex_main_place" default="`LV_FLEX_ALIGN_NONE`" inherited="false" layout="true" extDraw="false">
  Defines how to align the children in the direction of flex flow.
</StyleProperty>

<StyleProperty name="flex_cross_place" default="`LV_FLEX_ALIGN_NONE`" inherited="false" layout="true" extDraw="false">
  Defines how to align the children perpendicular to the direction of flex flow.
</StyleProperty>

<StyleProperty name="flex_track_place" default="`LV_FLEX_ALIGN_NONE`" inherited="false" layout="true" extDraw="false">
  Defines how to align the tracks of the flow.
</StyleProperty>

<StyleProperty name="flex_grow" default="`0`" inherited="false" layout="true" extDraw="false">
  Defines how much space to take proportionally from the free space of the Widget's track.
</StyleProperty>

<StyleProperty name="grid_column_dsc_array" default="`NULL`" inherited="false" layout="true" extDraw="false">
  An array to describe the columns of the grid. Should be LV\_GRID\_TEMPLATE\_LAST terminated.
</StyleProperty>

<StyleProperty name="grid_column_align" default="`LV_GRID_ALIGN_START`" inherited="false" layout="true" extDraw="false">
  Defines how to distribute the columns.
</StyleProperty>

<StyleProperty name="grid_row_dsc_array" default="`NULL`" inherited="false" layout="true" extDraw="false">
  An array to describe the rows of the grid. Should be LV\_GRID\_TEMPLATE\_LAST terminated.
</StyleProperty>

<StyleProperty name="grid_row_align" default="`LV_GRID_ALIGN_START`" inherited="false" layout="true" extDraw="false">
  Defines how to distribute the rows.
</StyleProperty>

<StyleProperty name="grid_cell_column_pos" default="0" inherited="false" layout="true" extDraw="false">
  Set column in which Widget should be placed.
</StyleProperty>

<StyleProperty name="grid_cell_x_align" default="`LV_GRID_ALIGN_START`" inherited="false" layout="true" extDraw="false">
  Set how to align Widget horizontally.
</StyleProperty>

<StyleProperty name="grid_cell_column_span" default="1" inherited="false" layout="true" extDraw="false">
  Set how many columns Widget should span. Needs to be >= 1.
</StyleProperty>

<StyleProperty name="grid_cell_row_pos" default="0" inherited="false" layout="true" extDraw="false">
  Set row in which Widget should be placed.
</StyleProperty>

<StyleProperty name="grid_cell_y_align" default="`LV_GRID_ALIGN_START`" inherited="false" layout="true" extDraw="false">
  Set how to align Widget vertically.
</StyleProperty>

<StyleProperty name="grid_cell_row_span" default="1" inherited="false" layout="true" extDraw="false">
  Set how many rows Widget should span. Needs to be >= 1.
</StyleProperty>
