Browse Source

shorter button text

Rodja Trappe 3 năm trước cách đây
mục cha
commit
a97107a2ed
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -175,7 +175,7 @@ with example(async_button):
         await asyncio.sleep(5)
         await asyncio.sleep(5)
         ui.notify('Asynchronous task finished')
         ui.notify('Asynchronous task finished')
 
 
-    ui.button('Start asynchronous task', on_click=async_task)
+    ui.button('start async task', on_click=async_task)
 
 
 with example(ui.checkbox):
 with example(ui.checkbox):
     ui.checkbox('check me', on_change=lambda e: checkbox_state.set_text(e.value))
     ui.checkbox('check me', on_change=lambda e: checkbox_state.set_text(e.value))