[Gambas-user] ScrollView shadow gets in the way now.

Benoît Minisini benoit.minisini at gambas-basic.org
Mon Jan 29 03:20:10 CET 2024


Le 29/01/2024 à 03:18, Benoît Minisini a écrit :
> Le 29/01/2024 à 02:42, Bruce Steers a écrit :
>>
>> I found changing the ScrollArea $iFadeSize works well
>>
>>    $iFadeSize = Desktop.Scale
>>
>> It is currently Desktop.Scale * 2
>>
>> Making it just Desktop.Scale it is still visible but pretty small so 
>> not so much in the way now.
>>
>> In the attached picture i can click the lowest visible property item 
>> as you can see the shadow is only small.
>> With the previous Desktop.Scale * 2 setting i could not as the shadow 
>> was just too large so got the click instead of the item under it.
>>
>> Respects
>>
>> BruceS
>>
> 
> I implemented a better solution in the last commit.
> 
> Now the shadows are not painted using widgets anymore. They are directly 
> painted on the area, just after the 'Draw' even has been raised (so that 
> they are drawn on top of the contents).
> 
> Regards,
> 

Damned... I know why I did that using widgets. For ScrollView that have 
widgets inside the area, the shadow cannot be drawn on top of them, but 
only behind.

-- 
Benoît Minisini.



More information about the User mailing list