This content has been marked as final. Show 4 replies
You don't have to override the Accordion class. You can place the Accordion inside a Canvas and then overlay buttons on top of it using the Canvas.
Ok, I will give it a try, seems logical... thanx ;)
You can override/subclass AccordionHeader, but it can be a bit tricky. you will still end up creating overlay buttons because AccordionHeader must be a Button-derived class and Buttons dont like having two hit areas. Last time I did this I had the button subclass float another button over the main button. But if you do it this way, the logic is self-contained and you dont have to coordinate the canvas with the header positions
Thanks for the details, I will have a look at it.