[Python] Streamlit how to display buttons in a single line

Discussão em 'Python' iniciado por Stack, Fevereiro 10, 2025.

  1. Stack

    Stack Membro Participativo

    Hi all I am building a simple web app with streamlit in python. I need to add 3 buttons but they must be on the same line.

    Obviously the following code puts them on three different lines

    st.button('Button 1')
    st.button('Button 2')
    st.button('Button 3')


    Do you have any tips?

    Continue reading...

Compartilhe esta Página