Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Problem with accordion control

A topic by lordGoldemort created May 09, 2018 Views: 1,130 Replies: 2
Viewing posts 1 to 3

Hi, been playing with the accordion control, and it works fine for static content of the panels. However, I'm trying to put a ScrollView inside one of the panels which has a variable number of items in a vertical list; it's drawing the scrollbars outside the bounds of the control and seems unable to size itself correctly so I can't see the list elements. I would guess, looking at the code, that it's not enough in UIAccordionElement.GetExpandedHeight(), just to query the preferred size - which will be fine for content of fixed but not variable height - and that you have to recursively get sizes for the contents?

Developer

Thanks for your query, best way to contact the UI Extensions team is either via Gitter or by positing an issue on the BitBucket page.

But I think the accordion was only originally developed for static sized menu's. Although if you log a proposal, we can get the community to look at it.

Developer

Just to note, you created the issue / proposal on BitBucket without logging on, so you won't receive notifications on updates :D