NetTalk Central

The Rest Of NetTalk => The Rest - Ask For Help => Topic started by: Alberto on March 19, 2021, 12:28:55 PM

Title: NetMaps how to use transparent in descriptions
Post by: Alberto on March 19, 2021, 12:28:55 PM
Hi , using

  net.InfoBorderColor     = Color:Transparent
  net.InfoBackgroundColor = Color:Transparent
  net.InfoTitleFontColor  = color:black
  net.InfoDescriptionFontColor = color:blue

The description background goes black, see pic

How to? thanks
Title: Re: NetMaps how to use transparent in descriptions
Post by: Bruce on March 21, 2021, 10:00:01 PM
You are using layers here right?

Which "layer method" are you using? Index transparency or layer transparency?

Cheers
Bruce
Title: Re: NetMaps how to use transparent in descriptions
Post by: Alberto on March 22, 2021, 10:43:38 AM
No, in this case Im using the original NetMaps.clw and just changing the colors variables.
Title: Re: NetMaps how to use transparent in descriptions
Post by: Bruce on March 22, 2021, 11:35:24 PM
then here is no transparent color.

I think in that case what you want to do is draw the labels, but without doing the background box.
Title: Re: NetMaps how to use transparent in descriptions
Post by: Alberto on March 23, 2021, 03:28:04 AM
You mean derive the entire DrawDescription method deleting the box drawing?
My only problem of doing this is that in a next template upgrade Ill miss your changes to the code.
But I dont know other way to do this.
Title: Re: NetMaps how to use transparent in descriptions
Post by: Bruce on March 29, 2021, 09:10:44 PM
have you tried setting InfoBackgroundColor to color:none?
I'm not sure if that will help but it's worth a try.
Let me know.
Title: Re: NetMaps how to use transparent in descriptions
Post by: Alberto on April 06, 2021, 02:37:19 PM
Yes, it works, thanks