Toggle Wide Mode #3878
Labels
status:awaiting-user-response
Issue requires clarification from submitter
type:enhancement
Requests for feature enhancements or new features
Problem
Cannot toggle layout
StreamlitAPIException: set_page_config() can only be called once per app
Solution
I can access the mode via the settings button - i.e. the checkbox for wide mode. It would be nicer if each page in the app can decide by itself if it wants to be in "wide" mode or "centred" - without the user having to manually adjust the page layout.
MVP:
Programmatically toggle the checkbox in the UI
e.g. st.toggle_layout()
Possible additions:
Add a flag to give a specific width in % or px for the layout
Preferred solution:
If we could nest columns that would be awesome, and I wouldn't need to fiddle with wide mode. I would create a parent column that can fit my whole page
The text was updated successfully, but these errors were encountered: