how to have arrows in libreoffice cal scrollbars?

on my desktop pc running leap 15.1 and KDE and libreoffice 6.3.3.2.0 I would like to have the arrows in the vertical and horizontal scroll bars. how can I get them?

The following will give you this:

https://paste.opensuse.org/view/raw/4c07905e

which may, or may not, be suitable :wink:

(KDE) System Settings -> Application Style -> GNOME Application Style (GTK) -> GTK Themes - gtk3 theme = Breeze

In ~/.config/gtk-3.0/ create a text file named “gtk.css” with the following content:

/*
 * Change scrollbar width and colour
 */


scrollbar, scrollbar button, scrollbar slider {
  -GtkScrollbar-has-backward-stepper: 1;
  -GtkScrollbar-has-forward-stepper: 1;
  -GtkScrollbar-has-secondary-backward-stepper: 1;
  min-width: 14px;
  min-height: 14px;
}

scrollbar slider {
  background-color: #d7d7d7;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  border-color: #a7a7a7; 
}

scrollbar :hover {
  border-color: #3daee9;
}

You may need to change the relevant *-color settings to better match the color scheme you use.

Log out / in for the changes to take effect.

Be aware though, this will effect all gtk applications…

…sorry to say this but it is horriblerotfl!

yeaaaah maaanythanks, it worked !!!, but partially:), the arrows works but are not visible, only a grey square where they should be, how can I get them?

Hmmm… OK…

I’ve just realised you’re using a later version of LO than I, I’m on 6.2.7.1, although I don’t think that’s the cause.

(I have Plasma 5.12.8, Frameworks 5.55.0, and Qt 5.9.7)

Try removing the section:


scrollbar slider {

  background-color: #d7d7d7;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  border-color: #a7a7a7; 
}

scrollbar :hover {
  border-color: #3daee9;
}

so the custom css is only adding the additional steppers (arrows), I’m afraid I really don’t know why it’s not working on your setup… :(, although it could be a “colour thing” perhaps the background and foreground colour of the arrows are the same?

tried, removed, the sliders are darker but the arrows remain invisible, may be they are images that are not found?

I have arrowheads rather than arrows with Breeze in LO Tools>Options>View>Icon style. Do you specifically want arrows?

What version of “gtk3-metatheme-breeze” do you have installed?

The screenshot I posted at #2 showing the steppers was on a Leap 15.1 system with the default “gtk3-metatheme-breeze” v5.12.8

I’ve just looked at this on a TW install which has “gtk3-metatheme-breeze” v5.17.4 and I see the same issue as you describe… If I temporarily downgrade “gtk3-metatheme-breeze” to v5.12.8 the steppers are once more visible.

So it would appear there is some change in “gtk3-metatheme-breeze” which is causing the issue of invisible steppers…

I really don’t have the time to investigate this further at the moment.

I downgraded to v5.12.8 but nothing changed

lol! don’t worry, it’s not urgent, and manythanks and have a happy new year
I get some improvement modifying the gtk.css file in this way, I get the position where the arrows should stay are red and green, in this way I can click on there and move gently the calc sheet

/* * Change scrollbar width and colour
 */




scrollbar, scrollbar button, scrollbar slider {
  -GtkScrollbar-has-backward-stepper: 1;
  -GtkScrollbar-has-forward-stepper: 1;
  -GtkScrollbar-has-secondary-backward-stepper: 1;
  min-width: 14px;
  min-height: 14px;
}


/* Change Buttons/stepper colors and size  */
scrollbar.vertical button,
scrollbar.vertical .button {
    min-width:13px;
    min-height: 30px;
    padding: 0px;
    background-color: red;
/* If you want a border around your scrollbar buttons, uncomment these items  */ 
/*   border-style: solid; */
/*   border-color: black; */
/*   border-width: 1px; */
}


scrollbar.horizontal button,
scrollbar.horizontal .button {
    min-width:25px;
    min-height: 16px;
    padding: 0px;
    background-color: green;
/* If you want a border around your scrollbar buttons, uncomment these items  */ 
/*   border-style: solid; */
/*   border-color: black; */
/*   border-width: 1px; */
}




scrollbar slider {
  background-color: #d7d7d7;
  border-width: 1px;
  border-radius: 4px;
  border-style: solid;
  border-color: #a7a7a7; 
}


scrollbar :hover {
  border-color: #3daee9;
} 
@import 'colors.css';

…manythanks, I did, but no arrows

surprisingly libreoffice Version: 6.4.2.2 use system kde decoration now and not more gtklol!lol! with breeze no arrows are presents, but with oxygen it’s ok