Autovisible vertical scrollbar for a listview

Discuss GUI programming with the RapaGUI plugin here
Post Reply
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Autovisible vertical scrollbar for a listview

Post 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!
plouf
Posts: 666
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Autovisible vertical scrollbar for a listview

Post by plouf »

can you shopw an example ?
to me it seems thats its automatically , if it fist no scrollbar, if NOT fit scrollbar appears
Christos
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Autovisible vertical scrollbar for a listview

Post 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">
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Autovisible vertical scrollbar for a listview

Post 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..
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Autovisible vertical scrollbar for a listview

Post by papiosaur »

Thanks Andreas for your answer,.

Maybe you could add this feature to RapaGUI?
plouf
Posts: 666
Joined: Sun Feb 04, 2018 11:51 pm
Location: Athens,Greece

Re: Autovisible vertical scrollbar for a listview

Post 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.
Christos
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Autovisible vertical scrollbar for a listview

Post 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.
User avatar
airsoftsoftwair
Posts: 5834
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Autovisible vertical scrollbar for a listview

Post 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.
papiosaur
Posts: 217
Joined: Fri Mar 31, 2023 1:34 pm

Re: Autovisible vertical scrollbar for a listview

Post by papiosaur »

@Andreas:

Ok, no problem, thanks.
Post Reply