How can I change the spacing of the close/minimise/maximise buttons on a DocumentWindow?


#1

I am making a Look and Feel for my applications, and I was wondering how I could change the spacing of the close/minimise/maximise buttons.

Right now, the minimise and maximise button are stuck to close together with a gap that is too big from the close button, I have looked through the API and I can't find a way, since the drawDocumentWindowTitlebar method doesn't handle the buttons.

Here is an image of my problem:

there is a picture here, it's sad that you can't see it

Is there any way I could do this? preferably in my Look and Feel class.

Thanks,

Tom.