Page 1 of 1

Autovisible vertical scrollbar for a listview

Posted: Wed Jun 14, 2023 7:04 am
by papiosaur
Hello,

is it possible to define an autovisible vertical scrollbar for a listview please?

I open a listview but there is a vertical scrollbar with only one entry...

I see scrollbar class but it had a other scrollbar to the first one.

Thanks for your help!

Re: Autovisible vertical scrollbar for a listview

Posted: Wed Jun 14, 2023 4:39 pm
by plouf
can you shopw an example ?
to me it seems thats its automatically , if it fist no scrollbar, if NOT fit scrollbar appears

Re: Autovisible vertical scrollbar for a listview

Posted: Fri Jun 16, 2023 8:49 am
by papiosaur
This is a snapshot:

Image

my line of code is:

Code: Select all

<listview id="lv1" droptarget="true" notify="dropfile;doubleclick" alternate="true">

Re: Autovisible vertical scrollbar for a listview

Posted: Sun Jun 18, 2023 4:28 pm
by airsoftsoftwair
Don't think this is supported by MUI. There's MUIA_List_HScrollerVisibility but there's no MUIA_List_VScrollerVisibility so vertical scrollbars are probably always there..

Re: Autovisible vertical scrollbar for a listview

Posted: Mon Jun 19, 2023 3:00 pm
by papiosaur
Thanks Andreas for your answer,.

Maybe you could add this feature to RapaGUI?

Re: Autovisible vertical scrollbar for a listview

Posted: Mon Jun 19, 2023 5:24 pm
by plouf
Isnt above ansewer means that is not added because mui does not support ? RapaGUI in amigoids depends on mui ...

Under windows is working "correct" so.

Re: Autovisible vertical scrollbar for a listview

Posted: Mon Jun 19, 2023 9:09 pm
by papiosaur
@Andreas:

this is an answer of georg on MorphZone:
Hmm ... https://github.com/amiga-mui/muidev/wiki/MUI_List says that you can set MUIA_List_ScrollerPos to MUIV_List_ScrollerPos_None and then mentions that you can create your own scroller and how to connect it to the list. If so it should also be possible to implement some kind of VScrollerVisibility flag/attribute yourself.

Re: Autovisible vertical scrollbar for a listview

Posted: Thu Jun 29, 2023 9:22 pm
by airsoftsoftwair
papiosaur wrote: Mon Jun 19, 2023 9:09 pm this is an answer of georg on MorphZone:
That sounds rather complicated. I think this is something MUI should provide instead of forcing applications to hack it into the listview gadget somehow.

Re: Autovisible vertical scrollbar for a listview

Posted: Sun Jul 02, 2023 9:30 am
by papiosaur
@Andreas:

Ok, no problem, thanks.