However, I noticed that the lines used to draw these buttons became thicker and inconsistent compared to other applications. If the images used for the window control buttons are SVGs (or another scalable format), is there a way to keep the line thickness minimal while increasing the button size?
The attached images show the buttons in a GTK-based app using scaled images, compared to the native buttons in another Windows app.
If we could establish a delegate interface for rendering window control buttons, it would allow for easier and more precise style adjustments compared to just applying CSS. Is something like this available? The idea is that GTK would still manage the button click handling, but if a custom paint handler is provided, it would be called to render the buttons.