Re: A few more OSX tweaks in the trunk
Tim Boudreau <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.user-interface |
|---|---|
| Message-ID | <[email protected]> |
Konrad Hosemann wrote: > Tim Boudreau: > >>Konrad Hosemann wrote: >> >>>-- Sometimes the tab titles are placed outside the actual tab, I >>>created issue #39922 >> >>On view tabs or editor tabs? I think I've seen this on view tabs if >>things are resized very small. Just needs the clip to be set properly. > > > On view tabs. See the screenshots and descriptions I attached to the > bugreport, it happens without any resizing. > > regards, > konrad I mentioned it in the bug report, but I'll mention it here too - this seems to be a problem in Apple's implementation of Graphics - it's reproducible on other look and feels as well. It seems to be aggrivated by the form editor - which does evil things with Graphics objects and much more repainting than necessary. It's much less common on 1.4.2, but still happens occasionally - graphics operations and other things paint in the correct position, but text gets painted 12 pixels lower than it should be. I've dug into it a bit, and will try to dig into it more, time permitting. I suspect it is related to using JButtons as cell renderers for the view tabs - there is a native component to the painting of borders, and I'm not sure what their look and feel does under the hood, though I've gleaned bits and pieces using reflection. -Tim