Add expander functionality to define custom header height#496
Add expander functionality to define custom header height#496SKProCH merged 5 commits intoAvaloniaCommunity:masterfrom
Conversation
|
Probably we should also update the whole control? Like currently in avalonia expander style there is a DockPanel. So, if we migrate to DockPanel, we can just setup the width/height of a ToggleButton instead of relying of margins and converters. What do you think? |
|
Yes, this is a much cleaner solution. I made the changes 🙌 |
|
Looks fine, but should you add the changeable height for header? |
I've tested the code and the height adjusts itself dynamically. Or did you mean to add some bigger header in the demo project? |
Oh, yeah, this is fine.
Yeah, i guess this would be fine |
|
Thanks! |
Currently the expander height is always 48.
This adds the functionality to change the expander height.