On Feb 12, 2009, at 9:41 AM, Axel Jäger wrote:

> Hi,
> when using unified title and toolbar on mac together with a tabbar  
> in document mode underneath, the result looks different when  
> switching between carbon and cocoa. Cocoa shows a line between  
> tabbar and toolbar. Carbon does it right when you take Safari as  
> reference. See attached screenshots.


Hi, this is a known issue with the cocoa port.  Here's the backstory  
it if you're interested:

On Carbon we use the HIWindowSetContentBorderThickness() function to  
remove the line, and all is fine. The corresponding function in Cocoa  
(NSWindow::setContentBorderThickness) seems to be higher maintenance,  
first of all it throws an exception if the window isn't in  
NSTexturedBackgroundWindowMask mode, and if you do put it in  
NSTexturedBackgroundWindowMask mode then it plain doesn't work (no  
visible effect.)

I'm sure we're doing something wrong somewhere, and we'll get it fixed  
eventually. But unfortunately I don't think there will be time for the  
4.5.0 release :-/

- Morten
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to