This is for perspective in ignition. I have a drop down as shown below
I want to make the scroll bar wider so it's more touch friendly
I also want to make the list options hold more items. I was wondering if there was an an easy way to do it without doing any gateway modifications
I suspect that's an operating system setting - not internal to Perspective.
What OS are you using?
What client are you using?
So I'm on Windows 11
The browser is Brave but the snapshot is from the designer itself when I play it
scrollbar-width - CSS: Cascading Style Sheets | MDN (mozilla.org)
I was presuming there was a scroller option that could be modified somewhere
It seems possible in the css
you can use the advanded stylesheet to add creat class and add
::-webkit-scrollbar behind it to target only the scrollbar of a dropwdown
You have more options with ::-webkit-scrollbar
But support is more limited (doesnt really work that well in the designer/app) in chrome it works fine tho
scroll bars are usualy handled by the device itself.
but using the advanced stylesheet you could try target them with (might not work the same on all devices)
::-webkit-scrollbar {
width: 5px;
}
2 Likes
Hey Victor
Thanks for sending that.
I'm currently required to use
Ignition Platform 8.1.17 (b2022051210)
I know that feature is only for 8.1.19 if I'm not mistaken
I ended up using the trick below and adding the fit-content attribute to max-height
Dropdown Height - Ignition - Inductive Automation Forum
you could also inject the scrollbar style into a styleclass just like the max-height in the post you linked
1 Like