How to use layout "wide" with st.Page and st.navigation

Hey everybody,

I am using streamlit==1.45.1
with st.Page() and st.navigation()

The issue is that my page_config are run in st.Page who doesn’t have any parameters to set the layout size. And when I try to set directly and some page I get this error.

streamlit.errors.StreamlitSetPageConfigMustBeFirstCommandError : set_page_config() can only be called once per app page, and must be called as the first Streamlit command in your script.

How can I keep using the st.Page and st.nav function and set my layout to wide ?
Thank you very much for your answear :grinning_face_with_smiling_eyes:

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