cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate II
Advocate II

Transparency of dropdown

I've set the opacity of my dropdown to 20%. This is fine, until I press the it to drop down and the choices have a transparent background. Is there anyway to keep the dropdown at a transparent level when untouched, but when selected, revert back to a solid background?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @ShanP,

 

We could take use of the OnCange property of the Dropdown Control, for example:

1. Under the OnChange property of the Dropdown, we use the following formula to create a Variable:

 

UpdateContext({Switch1:true})

2. Then under the Fill property of the Dropdown, change the formula as below:

 

 

If(Switch1,RGBA( 0, 0, 255, 0.8 ),RGBA( 0, 0, 255, 0.2 ))

Doing those two steps would make the Dropdown to stay at 20% transparent of the RGBA, and once the dropdown changed its value, it will change to 80%.

Some more reference:

Dropdown control in PowerApps

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support
Community Support

Hi @ShanP,

 

We could take use of the OnCange property of the Dropdown Control, for example:

1. Under the OnChange property of the Dropdown, we use the following formula to create a Variable:

 

UpdateContext({Switch1:true})

2. Then under the Fill property of the Dropdown, change the formula as below:

 

 

If(Switch1,RGBA( 0, 0, 255, 0.8 ),RGBA( 0, 0, 255, 0.2 ))

Doing those two steps would make the Dropdown to stay at 20% transparent of the RGBA, and once the dropdown changed its value, it will change to 80%.

Some more reference:

Dropdown control in PowerApps

 

Regards,

Michael

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
secondImage

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

Top Solution Authors
Top Kudoed Authors
Users online (17,846)