On earlier versions I can increase the width of the fiddly little scrollbars but writing a couple of lines in a file ~/.config/gtk-3.0/gtk.css. I’ve tried this in ~/.config/gtk-4.0/gtk.css but it doesn’t work. I assume there have been some big changes. How should I be doing this on Fedora-34/Gnome-40?
Not many applications are using GTK4 yet. Try your old solution and I believe it should work with most. To test with GTK4 try:
sudo dnf install gtk4-devel
gtk4-demo
and see if the changes apply. It would also be helpful if you gave us the exact changes you are using.
I’m confusing Gnome and GTK. I’ve removed “Gmone-40” from the subject. I did put it into gtk-3.0 as well. It looks right now, perhaps I had just logged out and rebooting was necessary. I jumped to a conclusion.
scrollbar slider {
/* size of the slider */
min-width: 20px;
min-height: 20px;
border-radius: 22px;
/* padding around the slider */
border: 5px solid transparent;
}
It doesn’t affect Firefox or Qt applications though, I’ve not found out an equivalent for that.
I know there is a Firefox extension for custom scroll bars. Idk about Qt.
It doesn’t allow widening of the scrollbars unfortunately.