chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
|
||||
|
||||
Simple table
|
||||
Simple table
|
||||
"""""""""""""""""""""""
|
||||
|
||||
.. lv_example:: widgets/table/lv_example_table_1
|
||||
:language: c
|
||||
|
||||
|
||||
Lightweighted list from table
|
||||
""""""""""""""""""""""""""""""
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ def draw_event_cb(e):
|
||||
rect_dsc.bg_color = lv.theme_get_color_primary(obj)
|
||||
else:
|
||||
rect_dsc.bg_color = lv.palette_lighten(lv.PALETTE.GREY, 2)
|
||||
|
||||
|
||||
rect_dsc.radius = lv.RADIUS.CIRCLE
|
||||
|
||||
sw_area = lv.area_t()
|
||||
@@ -26,9 +26,9 @@ def draw_event_cb(e):
|
||||
sw_area.y1 = dsc.draw_area.y1 + dsc.draw_area.get_height() // 2 - 10
|
||||
sw_area.y2 = sw_area.y1 + 20
|
||||
dsc.draw_ctx.rect(rect_dsc, sw_area)
|
||||
|
||||
|
||||
rect_dsc.bg_color = lv.color_white()
|
||||
|
||||
|
||||
if chk:
|
||||
sw_area.x2 -= 2
|
||||
sw_area.x1 = sw_area.x2 - 16
|
||||
|
||||
Reference in New Issue
Block a user