Hi,
Is it possible to change the size of the text input ? So that we the mode is on “wide mode” the input box doesn’t take all the page as shown on the picture.
Thanks in advance,
Hi,
Is it possible to change the size of the text input ? So that we the mode is on “wide mode” the input box doesn’t take all the page as shown on the picture.
Thanks in advance,
Hey @Tatiana_Foulon,
What I would do is put the text_input
into a column:
import streamlit as st
st.set_page_config(layout="wide")
st.title('Welcome to DataFlix')
st.subheader('without columns:')
movie_1 = st.text_input('your favourite movie')
st.subheader('with columns:')
col1, col2 = st.beta_columns(2)
with col1:
movie = st.text_input('Please enter your favourite movie')
gives:
Happy Streamlit-ing!
Marisa