We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There is currently a bug with the toga.Scroll_container() widget where if you try to change the content of it, the app displays everything weird.
To Reproduce Steps to reproduce the behavior:
#create a box and add any widgets needed my_box=toga.Box(style=Pack(direction=COLUMN, padding=5)) my_box.add(widget) self.scroll_container = toga.Scroll_container(vertical=True, horizontal=False, content=my_box) self.main_window.content=self.scroll_container
Then in a handler for a button that changes the content of the scroll container:
def change_content(self, widget): self.scroll_container.content=another_box
Whatever is in the second box will try to display, but all of the content from the first box will still be there.
Expected behavior
Content from the second content box should be added to the scroll container; original content should be replaced.
Environment:
Additional context
Reported via Discord user @blindgoofball
The text was updated successfully, but these errors were encountered:
See #1915 for a possibly related bug.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
There is currently a bug with the toga.Scroll_container() widget where if you try to change the content of it, the app displays everything weird.
To Reproduce
Steps to reproduce the behavior:
Then in a handler for a button that changes the content of the scroll container:
Whatever is in the second box will try to display, but all of the content from the first box will still be there.
Expected behavior
Content from the second content box should be added to the scroll container; original content should be replaced.
Environment:
Additional context
Reported via Discord user @blindgoofball
The text was updated successfully, but these errors were encountered: