Developer forum

Forum » Swift » Transparent Buttons and links in Swift

Transparent Buttons and links in Swift

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have started playing with the latest Swift version.

One of my challenges (for the project I am testing it for) is to create simple links instead of buttons and create transparent (border only) buttons.

Something like this:

Nevermind the rounded corners :)

First of all, it would be good to have a definition for regular links instead of buttons. I know that transparent buttons can be an option but even for transparent buttons, there will be horizontal padding that will make horizontal alignment a nightmare.

Moving on to Transparent buttons, I have tried defining Transparent buttons but no matter how I configure them, a background color is set for the buttons.

The strage part is that the Theme display looks consistent with my configuration:

But the output is inconsistent:

I have checked the inheritance and there is nothing that could affect the display.

Maybe I am doing something wrong in the configuration :)

Thank you,

Adrian


Replies

 
Nicolai Pedersen
Reply

Hi Adrian

We have reproduced this situation and is discussing if and how we should fix it. We have a change to this that we need to test (also for compatibility reasons) - will get back.

BR Nicolai

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Nicolai,

Thank you,

Adrian

 

You must be logged in to post in the forum