okld/streamlit-ace

Customise width and height

iamashwin99 opened this issue · 3 comments

Is there any way to change the width and height of the ace editor widget?

okld commented

Hello @iamashwin99, you can only customize the height like so: st_ace(height=380)

Why would you customize the width?
If you want to display Ace side-by-side with some other content, you can rely on streamlit's columns.
Here's an app showcasing this layout: https://share.streamlit.io/akrolsmir/streamlit-snippet/main

@okld thank you for your tip on using streamlit's columns.
It solved my problem!