Unexpected st.columns behaviour

Hey Streamilt community,

I am getting rather unexecpted behaviour from the st.columns method, I would expect the layout of the page to be identical each run, however, if I refresh the page a few times, the layout is likely to be different on some of the runs, see the attatched image as an example when things go wrong. Is there a solution to this problem?

st.set_page_config(layout=“wide”)

col1, col2, col3, col4, col5 = st.columns([1, .1, 1, .1, 1])

col1.write(‘Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.’)

I am using Chrome btw.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.