CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Dec 08, 2019 3:36 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Transparent button
PostPosted: Tue Dec 03, 2019 12:44 am 
Offline

Joined: Tue Dec 04, 2018 7:45 pm
Posts: 4
I am unable to get working transparent button in web visu.

I found very useful Image Button element from ESC-Buttons Codesys store.
For button images I use transparent square area with some icon in the middle (SVG vector format) imported to my imagepool. Then I set Colors/Fillcolor/Transparency=0 and Colors/Framecolor/Transparency=0.
Inside Codesys IDE everything is working nice, the button shows only icon and square area outside icon is fully transparent.
However, when I and run web browser pointed to webvisu the square area of the button is always filled by color from fillcolor no matter of transparency setting.
Semi-transparency option is activated in Visu Manager, of course.
If I use the same SVG image as just Image element it is transparent in web perfectly. But unable to link variable to just image. Standard Button element also is not transparent.

Has anybody some ideas how to get transparent button in webvisu?
Thanks in advance!


Top
   
 Post subject: Re: Transparent button
PostPosted: Tue Dec 03, 2019 7:58 am 
Offline
Frequent User
Frequent User

Joined: Thu Aug 30, 2018 8:40 am
Posts: 158
Hello,

could you provide a small example project?

Thank you!

Best regards,
Marcel


Top
   
 Post subject: Re: Transparent button
PostPosted: Wed Dec 04, 2019 3:41 pm 
Offline

Joined: Tue Dec 04, 2018 7:45 pm
Posts: 4
Excuse me, please, I found the solution to make button image transparent.
The Element look/Fill attributes should be set to Hollow ))


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited