-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
widget.List in widget.AccordionItem not all are displayed #4126
Comments
Accordion is currently set up to display items at min height. We could consider altering it to stretch, though that might be peculiar for smaller content. Interested in peoples opinions on this, I'm pretty sure it's one or the other not much option between. |
I also agree that stretch is a good way |
Why not a boolean option ExpandContent bool. Default value false will not change anything, and if set true, the content will expand full height |
Could do, but looking at consistency the way it works feels like a mistake. You can return to this behaviour by putting the whole container into a VBox if I see things correctly. Mostly I'm nervous about the president set by having components decide how much of the container to use ... |
What about adding a |
You'd need to add the same to Tree and Table and GridWrap as well I would think. And even then it's still not making use of the available space. The Entry is really a special case as in some instances the input could require or expect a certain length of content. |
This is resolved on develop for v2.4.0 |
Checklist
Describe the bug
widget.List in widget.AccordionItem, when AccordionItem open, only one item with scroll bar is displayed, not all are displayed
How to reproduce
1, go run code
2, clike item1
Screenshots
Now:
Want:
Example code
Fyne version
v2.3.5
Go compiler version
1.19.9
Operating system and version
Windows 10
Additional Information
No response
The text was updated successfully, but these errors were encountered: