Is it possible to make MultiSliderView
completely transparent but keep its functionality?
You could try setting all it’s colour methods to Color.clear.
Edit: And don’t forget .background_()
Best,
Paul
Suddenly it’s not the case for MultiSliderView
e.g. .background_(Color.clear)
reveals (half transparent) dark grey color underneath
That seems like a bug, same for Slider. NumberBox behaves like expected.
(
v = View().layout_(HLayout(
MultiSliderView().background_(Color.clear),
Slider().background_(Color.clear),
NumberBox().background_(Color.clear),
)).front.alwaysOnTop_(true)
)
v.background_(Color.rand)
That issue might be here:
- https://github.com/supercollider/supercollider/blob/develop/QtCollider/style/routines.hpp#L154
- https://github.com/supercollider/supercollider/blob/develop/QtCollider/style/routines.hpp#L163
hjh
Is it done like that on purpose? What would you recommend to do to make it fixed?
I think it’s done like that because the two developers who made QtCollider had to make some decisions, and maybe some of them weren’t ideal but it would have been worse if they didn’t finish it.
I don’t have an opinion about a fix – only pointing out that alpha should be 0 for full transparency and the code currently seems to disallow that.
hjh