[Theming] Support customizing title pane buttons
kirill-grouchnikov opened this issue · comments
Splitting off of 0a0c2e4#commitcomment-93364364
Add APIs to allow customizing the icons and the tooltips / texts used for title pane buttons:
- Maximize
- Restore
- Iconify
- Close
Thanks this could be useful to me.
I would want my icons to look similar to your defaults, so I've examined code in the "Blade" classes. Those are "internal", but it looks like they only use public apis, so I could probably replicate them.
By the way, I just found that BladeDrawingUtils.paintBladeSimpleBorder() does not dispose of the graphics object. (No point opening a bug for that.)
Yes, the idea is definitely to not block app code. The internal flow there is mostly around getting the stroke width. I'll look at the disposal.