ui.null
Function: ui.null( | **properties) |
This widget displays nothing on the screen. Why would one want to do this? If a widget requires contents, but you don't have any contents to provide it.
Example
python: # Stats Window ui.frame(xpos=0, ypos=0, xanchor='left', yanchor='top', xfill=True, ) ui.vbox() ui.text('Statistics') ui.null(height=20) for name, range, value in stats: ui.hbox() ui.text(name, minwidth=150) ui.bar(range, value, ypos=0.5, yanchor='center') ui.close() # for the ui.hbox ui.close() # for the ui.vbox