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

Bruce Steers bsteers4 at gmail.com
Mon Jan 29 14:19:02 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.
>


Ooh loving the new NoMouse property , that's going to come in useful for
other things.

Much respect and thanks Benoit :)

BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20240129/31bb215a/attachment.htm>


More information about the User mailing list