[GNC] configuring scroll bars
mcmurchy1917techy
mcmurchy1917techy at btinternet.com
Thu Mar 19 11:03:11 EDT 2020
I seem to have a resolution that works for me.
I've kept as packaged the /usr/share/themes/Breeze/gtk-3.0/gtk.css
I've created abespoke .config/gtk-3.0/gtk.css in my home directory. See
below.
> @import 'colors.css';
>
> scrollbar {
> -GtkScrollbar-has-backward-stepper: true;
> -GtkScrollbar-has-forward-stepper: true;
> min-width: 24px;
> min-height: 24px;
> }
>
> scrollbar button {
> min-width: 24px;
> min-height: 24px;
> color: black;
> }
>
> scrollbar slider {
> min-width: 24px;
> min-height: 24px;
> }
>
> scrollbar.vertical button.up {
> -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
> }
>
> scrollbar.vertical button.down {
> -gtk-icon-source: -gtk-icontheme("pan-down-symbolic");
> }
>
> scrollbar.horizontal button.up {
> -gtk-icon-source: -gtk-icontheme("pan-start-symbolic");
> }
>
> scrollbar.horizontal button.down {
> -gtk-icon-source: -gtk-icontheme("pan-end-symbolic");
> }
>
The code chunk that starts
>
> scrollbar.vertical button.up {
> -gtk-icon-source: -gtk-icontheme("pan-up-symbolic");
> }
was suggested by EdGr on the linuxquestions slackware forum.
It seems to do everything I want. Needs some more testing, just to make
sure.
Alex
On 18/03/2020 17:35, Adrien Monteleone wrote:
> Sorry, I sent too fast and read too slowly.
>
> If the arrows only appear on the main window when a dialog has focus, but not when the main window has focus, that would seem backwards to me.
>
> You might have a bug there. (which might still be part of a GTK on Plasma conflict)
>
> Regards,
> Adrien
>
>> On Mar 18, 2020 w12d78, at 12:33 PM, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
>>
>> Again, sounds like a preference in Plasma, though perhaps a design choice of Plasma, or even GTK.
>>
>> I’m surprised you still have the scroll bar at all if that window doesn’t have focus.
>>
>> There may not be an easy solution if that behavior is by design without an exposed preference to change it.
>>
>> Regards,
>> Adrien
>>
>>> On Mar 18, 2020 w12d78, at 12:12 PM, mcmurchy1917techy via gnucash-user <gnucash-user at gnucash.org> wrote:
>>>
>>> Apologies, might not have explained it very well.
>>>
>>> The arrows < > do appear on the vertical scrollbar of the main window, but only when a dialog has the main focus. When the dialog is closed the arrows disappear and will only reappear if another dialog is opened.
>>>
>>> Your "proper solution" is probably way beyond my capability. I'll give it some thought though.
>>>
>>> Thanks
>>>
>>> Alex
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
More information about the gnucash-user
mailing list