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

container.NewScroll does not support horizontal scroll for widget tree object #4775

Open
2 tasks done
dliu2223 opened this issue Apr 9, 2024 · 5 comments
Open
2 tasks done
Labels
unverified A bug that has been reported but not verified

Comments

@dliu2223
Copy link

dliu2223 commented Apr 9, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

Tree widget has vertical scroll when tree extends beyond wrapping container vertically, but not horizontally. Tried wrapping the tree using container.NewScroll, with ScrollBoth direction, but the horizontal scroll bar only shows up when the window is shrinked to a small size, the scroll bar does not scroll to the entire width of the container window.

How to reproduce

Use fyne_demo/tutorial/collection.go as example, changed the makeTreeTab to return container.NewScroll(tree)

Screenshots

No response

Example code

container.NewScroll(tree)

Fyne version

2.4.4

Go compiler version

go version go1.21.1 darwin/amd64

Operating system and version

sonoma 14.4.1

Additional Information

No response

@dliu2223 dliu2223 added the unverified A bug that has been reported but not verified label Apr 9, 2024
@dliu2223
Copy link
Author

dliu2223 commented Apr 9, 2024

Attached screen shot

@andydotxyz
Copy link
Member

Attached screen shot

There is no screenshot...

@andydotxyz
Copy link
Member

I wonder if this is essentially the same as #4060 ?

@dliu2223
Copy link
Author

dliu2223 commented Apr 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unverified A bug that has been reported but not verified
Projects
None yet
Development

No branches or pull requests

2 participants