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

Bruce Steers bsteers4 at gmail.com
Mon Jan 29 05:24:49 CET 2024


On Mon, 29 Jan 2024 at 02:21, Benoît Minisini <
benoit.minisini at gambas-basic.org> wrote:

> 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.
>

yeah it's not too pretty but it's much more functional like this. thank you
:)
i can consider that the widgets fully showing above the shadow is now more
a feature than a bug ;)

The issue of things not clicking is fully gone now so that's great :)
Respects
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240129/6956f8c6/attachment.htm>


More information about the User mailing list