Whitespace on SIDES of project rather than the top

Summary

I have searched and found the solution to decrease the whitespace atop the page. But I havenā€™t seen anything about why Iā€™m getting so much whitespace on the sidesā€¦ itā€™s squishing my dataframes dramatically. See image in red. Also, any way I can better align these controls in blue? Thanks!

Share a clear and concise description of the issue. Aim for 2-3 sentences.

Steps to reproduce

Code snippet:

add code here

If applicable, please provide the steps we should take to reproduce the error or specified behavior.

Expected behavior:

Explain what you expect to happen when you run the code above.

Actual behavior:

Explain the undesired behavior or error you see when you run the code above.
If youā€™re seeing an error message, share the full contents of the error message here.

Debug info

  • Streamlit version: (get it with $ streamlit version)
  • Python version: (get it with $ python --version)
  • Using Conda? PipEnv? PyEnv? Pex?
  • OS version:
  • Browser version:

Requirements file

Using Conda? PipEnv? PyEnv? Pex? Share the contents of your requirements file here.
Not sure what a requirements file is? Check out this doc and add a requirements file to your app.

Links

  • Link to your GitHub repo:
  • Link to your deployed app:

Additional information

If needed, add any other context about the problem here.

I think I solved it. Itā€™s wide-mode Iā€™m looking for. I set it in the config:

st.set_page_config(page_title=ā€œJ187 Optimizerā€, page_icon=ā€œJ187DFS.JPGā€, layout=ā€œwideā€)

Yes indeed, st.set_page_config(layout=ā€œwideā€) would allow setting the page layout to wide.

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