Insubstantial / insubstantial

Swing look-and-feel library and assorted widgets
195 stars 57 forks source link

InternalFrame starts title at double icon width #126

Closed kharybdys closed 10 years ago

kharybdys commented 10 years ago

Caused by #88 fix, now that there is always a menuBar, whose width is equal to the icon, the calculation for the xOffset should no longer take this width into account, as the intention is to render the icon and the menuBar on top of each other. Possibly better fix is to take the largest of these two widths instead of the sum.

I'm preparing to officially fork and make a pull request with a fix but want to register the issue already.

Note that the same behaviour is not observed when talking about normal frames.