Add color_filter_opa style property (#7276)

This commit is contained in:
Clyde Stubbs 2024-08-14 12:06:13 +10:00 committed by GitHub
parent a0eff08f39
commit bec2d42c79
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ STYLE_PROPS = {
).several_of,
"border_width": cv.positive_int,
"clip_corner": lvalid.lv_bool,
"color_filter_opa": lvalid.opacity,
"height": lvalid.size,
"image_recolor": lvalid.lv_color,
"image_recolor_opa": lvalid.opacity,

View File

@ -101,6 +101,7 @@ lvgl:
border_side: [bottom, left]
border_width: 4
clip_corner: false
color_filter_opa: transp
height: 50%
image_recolor: light_blue
image_recolor_opa: cover