Re: [Gambas-user] SwitchButton with "OFF" when Enabled gets False

2014-10-25 Thread Benoît Minisini
Le 24/10/2014 17:49, Fabien Bodard a écrit : > Well it might be an error i remember the logical chain to have a > well rendered widget need some concentration > > 2014-10-24 17:00 GMT+02:00 Tobias Boege : >> Hi Benoit, >> >> gb.form's SwitchButton's DrawingArea_Draw() contains this: >> >> 80

Re: [Gambas-user] SwitchButton with "OFF" when Enabled gets False

2014-10-24 Thread Fabien Bodard
Well it might be an error i remember the logical chain to have a well rendered widget need some concentration 2014-10-24 17:00 GMT+02:00 Tobias Boege : > Hi Benoit, > > gb.form's SwitchButton's DrawingArea_Draw() contains this: > > 80 If $fValue > 0 Then > 81 If $iBg = Color.Default T

[Gambas-user] SwitchButton with "OFF" when Enabled gets False

2014-10-24 Thread Tobias Boege
Hi Benoit, gb.form's SwitchButton's DrawingArea_Draw() contains this: 80 If $fValue > 0 Then 81 If $iBg = Color.Default Then 82 iCol = Color.SelectedBackground 83 Else 84 iCol = $iBg 85 Endif 86 If Not Me.Enabled Then iCol = Color.Desaturate(Color.Merge(iCol,