Dropdown colours?
-
@Lindon I refer you to my previous post
-
@d-healey so..
whats wrong with this statement then:g.fillAll(Colours.withAlpha(Colours.red,0.1));
- should be pretty transparent no? - its not.
-
@Lindon Yeah you can't do transparency with it because it has a solid white background by default. So it's as if your always drawing over a white rectangle.
-
@d-healey said in Dropdown colours?:
@Lindon Yeah you can't do transparency with it because it has a solid white background by default. So it's as if your always drawing over a white rectangle.
--thank you - my point exactly - you cant do anything except set the colour (and without transparency....)
-
@Lindon You can draw icons, shapes and text. The only thing you can't do is set a transparent colour. Looking at the source code I think this is because HISE is just adding to JUCE's default laf rather than replacing it.
-
@d-healey said in Dropdown colours?:
@Lindon You can draw icons, shapes and text. The only thing you can't do is set a transparent colour. Looking at the source code I think this is because HISE is just adding to JUCE's default laf rather than replacing it.
yeah - I wanted to replace the background completely- for a funky alternative drop down design- but I discovered this limitation - still I've lived with it for a couple of years _ I guess its not that important to me...
-
@Lindon You can do it but you'll need to modify the JUCE function (probably just commenting out a line).
-
@d-healey yeah might get around to it if I ever see the bottom of the to-do list....;-)
-
@Lindon Hey, just ran into this.
Do you know if there have been any threads on workarounds for this? What is the specific change to the source code?
-
@Noahdeetz said in Dropdown colours?:
@Lindon Hey, just ran into this.
Do you know if there have been any threads on workarounds for this? What is the specific change to the source code?
my specific change was to change my mind - and not do it :-)
-
@d-healey Thnx for sharing!
I also have this issue.