Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to set width and height of the component in Streamlit app? #645

Open
kidoln opened this issue Oct 16, 2024 · 4 comments
Open

Comments

@kidoln
Copy link

kidoln commented Oct 16, 2024

How to set the width and height of the component in Streamlit app? The new version seems remove the two parameters.

@longxiaofei
Copy link
Contributor

Hi @kidoln

At that time, height and width were only used to adjust the height and width of the HTML iframe, and could not actually adjust the height and width of the pygwalker UI.

Therefore, after using the Streamlit component to render the pygwalker UI, these two parameters were removed.

@kidoln
Copy link
Author

kidoln commented Oct 20, 2024

@longxiaofei So, there’s no way to adjust the height of Pygwalker in Streamlit, is there?

@longxiaofei
Copy link
Contributor

Hi @kidoln

There is currently no way to set the height of pygwalker.

Because the height of graphic-walker ui is fixed, even if we adjust the height to 500, this will show part of the ui and the user will need to slide to see different parts of the ui.

Can you give an case where you need to use the height parameter?

@kidoln
Copy link
Author

kidoln commented Oct 21, 2024

@longxiaofei This is screenshot of my app. I want to make pygwalker to fill the empty space.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants