You are not logged in.
Pages: 1
Hello
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23.2_x64 Libretto January 21 2024 base: Debian GNU/Linux 12
(bookworm)
Is there a way to bring the arrows in addition to the scrollbar into the GUI.
I would like to have them for GTK2, GTK3 and ev. GTK4
Would appreciate some answer.
Thank you.
Edit:
I have tried this in ~/.config/gtk-3.0/gtk.css:
scrollbar {
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true;
}
scrollbar button {padding: 0}
But this makes not the full job.
Last edited by Tabespe (2024-04-18 08:16:50)
Offline
Can you explain what you mean by "not the full job"? What is missing?
Also, steppers don't exist in GTK4 (see: https://discourse.gnome.org/t/gtk4-gtks … gone/14376).
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you for asking.
1) Thunar: If the scrollbar is on the extreme down position, the stepper is weak:
https://imgur.com/83dTcxS
I would like, that it is still strong like the upper.
2) Thunar:
When I click on the arrow, I would like, that it moves one line like in GTK2 apps. But it only moves some pixels in thunar:
https://imgur.com/a/kCC91Xy
3) GTK2-Apps:
It does not show the arrows, but if I click, where the arrows should be it works as expected:
https://imgur.com/MXPTO7F
But I would like to see also arrows there.
Offline
1) Thunar: If the scrollbar is on the extreme down position, the stepper is weak:
https://imgur.com/83dTcxS
I would like, that it is still strong like the upper.
I think this is default GTK3 behaviour when there is no more to scroll. You can override it by changing the last line of your snippet to:
scrollbar button {padding: 0; color: red;}
...and change "red" to whatever colour you would like.
2) Thunar:
When I click on the arrow, I would like, that it moves one line like in GTK2 apps. But it only moves some pixels in thunar:
https://imgur.com/a/kCC91Xy
I have a sense that this is just the way GTK3 changed things related to scrolling. I'm unable to find any information on how to disable or revert this functionality.
3) GTK2-Apps:
It does not show the arrows, but if I click, where the arrows should be it works as expected:
https://imgur.com/MXPTO7F
But I would like to see also arrows there.
It's been soooo long since I've done any GTK2 tweaking. What gtk2 theme are you using and do you have any content in ~/.gtkrc-2.0?
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you.
Yes, it has:
https://imgur.com/cPr5In9
Offline
Unfortunately, the Arc gtk-2.0 theme doesn't implement the steppers. Here is how the Chicago95 theme implements them. Notice that it uses the pixmap engine to specify the graphic elements for the function "STEPPER" - you'll need to re-create this functionality for the Arc theme.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Thank you!
I see it needs the folder Scrollbars with the pics and the file "scrollbar.rc".
Offline
But maybe I should just take another theme.
Offline
Pages: 1
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 546.97 KiB (Peak: 547.81 KiB) ]