chore(style): remove the trailing space from all source files (#3188)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -4,14 +4,14 @@ Simple Text area
|
||||
|
||||
.. lv_example:: widgets/textarea/lv_example_textarea_1
|
||||
:language: c
|
||||
|
||||
|
||||
Text area with password field
|
||||
|
||||
|
||||
Text area with password field
|
||||
"""""""""""""""""""""""""""""
|
||||
|
||||
.. lv_example:: widgets/textarea/lv_example_textarea_2
|
||||
:language: c
|
||||
|
||||
|
||||
Text auto-formatting
|
||||
"""""""""""""""""""""""""""""
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ btnm_map = ["1", "2", "3", "\n",
|
||||
"4", "5", "6", "\n",
|
||||
"7", "8", "9", "\n",
|
||||
lv.SYMBOL.BACKSPACE, "0", lv.SYMBOL.NEW_LINE, ""]
|
||||
|
||||
|
||||
btnm = lv.btnmatrix(lv.scr_act())
|
||||
btnm.set_size(200, 150)
|
||||
btnm.align(lv.ALIGN.BOTTOM_MID, 0, -10)
|
||||
|
||||
@@ -14,7 +14,7 @@ def ta_event_cb(e):
|
||||
rest = txt[colon_pos:]
|
||||
if len(rest) > 3:
|
||||
ta.del_char()
|
||||
|
||||
|
||||
if len(txt) < 2:
|
||||
return
|
||||
if ":" in txt:
|
||||
|
||||
Reference in New Issue
Block a user