NiceGui: Multiline Button

40 views Asked by At

How can I make a multiline button in nicegui?

enter image description here

Quasar example just uses a <br> tag, but it gets escaped by nicegui.

1

There are 1 answers

0
xvan On

Inserting plain html inside a the button as a workaround

    with ui.button():
        ui.html('hello<br>world')