Columns Are Printing as Rows

I’m working on a system for handling my work tasks, and I’ve run into a snag. I’ve got code that produces 3 columns:

times, slots, notes = st.columns([1, 2, 2])

with times:
    for time in list(range( 7, 13)) + list(range(1, 5)):
        st.write(f'{time}')

with slots:
    st.write("slots")
with notes:
    st.write( "here are the notes")

This works on my desktop’s screen, but when I try printing the page, they print as rows. Any idea what I’m doing wrong? Thanks!

Hi @Anders -

Are you saying that how the version gets printed to paper is different than what you see on the screen?

Best,
Randy

@randyzwitch that’s right. And it doesn’t matter how much space the info in each column takes up: it always displays as 3 columns but prints as 3 separate rows

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