I've been having great fun recently writing some programmatic skin classes to skin my Components. And I've moved onto the TitleWindow. I've written classes for the titleBackgroundSkin and also for the closeButtonSkin. Now I've been fine tuning the look and feel by adjusting the styles. Realising that it extends Panel I've been looking there when I cant find styles that have the required effect.
But there's one thing I just can't figure out. How can I adjust the margin/padding or whatever for the text on the TitleBar and also for the Close Button. The default position places them both about 12 pixels from the left and right edges of the TitleWindow. Ideally I'd like them to be inline with the content of the window. If anyone has quick answer to this problem I'd really appreciate it. Otherwise I'm left with continuing with trial and lots of error.

