Skip to content

Gui/fix scoll bar #2742

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

Merged
merged 2 commits into from
Jun 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
You can grab pre-release versions from PyPi. See the available versions from the
Arcade [PyPi Release History](https://pypi.org/project/arcade/#history) page.

## Unreleased

- GUI
- Fix UIScrollBar creation


## 3.3.1

- Fixed an issue causing NinePatch to not render correctly
Expand Down
3 changes: 1 addition & 2 deletions arcade/gui/experimental/scroll_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ def __init__(self, scroll_area: UIScrollArea, vertical: bool = True):
bind(self, "_dragging", self.trigger_render)
bind(scroll_area, "scroll_x", self.trigger_full_render)
bind(scroll_area, "scroll_y", self.trigger_full_render)
bind(scroll_area, "content_height", self.trigger_full_render)
bind(scroll_area, "content_width", self.trigger_full_render)
bind(scroll_area, "rect", self.trigger_full_render)

def on_event(self, event: UIEvent) -> bool | None:
# check if we are scrollable
Expand Down
Loading