How to maintain height of elements across streamlit columns (used as horizontal layout)

I am looking to organise output of JSON in below format.

I am using st.columns(2) twice to populate values (think of it as horizontal layout). However in column, the text value has to be wrapped (as it is long) which distorts the expected alignment, as shown in image

How to make sure that height is maintained across column values in a particular row

@Chaitanya_Kanth - For each row create a new set of columns. You’ll find it easier to use a dict or tuple list of answer:command key-value pairs for the iteration.

A

1 Like

Thanks ! It worked.

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