[
https://issues.apache.org/jira/browse/CB-12214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981060#comment-15981060
]
Mike Kronenberg commented on CB-12214:
--------------------------------------
In MacOS, the window title bar inherits from the window.backgroundColor.
Deliberately setting it to black with
// use black background while starting.
self.window.backgroundColor = [NSColor blackColor];
will leave you with a dark gray window titlebar.
Using
self.window.backgroundColor = NSColor.clearColor;
self.window.opaque = false;
or just completely leave "self.window.backgroundColor = [NSColor blackColor]"
away will return a default colored window title bar, which should be the
default behaviour imho.
> backgroundColor property in Config.xml not supported on OSX
> -----------------------------------------------------------
>
> Key: CB-12214
> URL: https://issues.apache.org/jira/browse/CB-12214
> Project: Apache Cordova
> Issue Type: Bug
> Components: OSX
> Reporter: Marek Trabalka
> Labels: osx
>
> It seems to be quite easy to add the support. I've been able to make the
> window background transparent by replacing line
> self.window.backgroundColor = [NSColor blackColor];
> in CDVViewController.m file with these 2 lines
> self.window.backgroundColor = NSColor.clearColor;
> self.window.opaque = false;
> Would you please add this feature for OSX?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]