On Friday, 26 April 2019 at 09:36:04 UTC, Russel Winder wrote:
If I remember correctly, you have to set up the volume button,
set the initial
volume, then set up and add the adjustment, and then reset the
initial value
via the adjustment to get the icon correct. Memory on this is
hazy...
Actually, you're memory on this point is fine, Russell.
My solution—in an effort to keep is as clear as possible—was to
do the initial setting of the new Adjustment to (initialValue +
1), and then do setValue(initialValue).