[GNC] configuring scroll bars

mcmurchy1917techy mcmurchy1917techy at btinternet.com
Wed Mar 18 13:12:37 EDT 2020


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

On 18/03/2020 16:45, Adrien Monteleone wrote:
> Sounds like a Plasma preference, though I find it curious it is visible on dialogs but not the main window.
>
> The proper solution probably involves resolving a display problem with GTK on Plasma, but you might be able to fake it with the `::before` pseudo element and some creative positioning to make it appear to float overlaid on the button. That might only work though if you can target each button independently.
>
> Regards,
> Adrien
>
>
>
>> On Mar 18, 2020 w12d78, at 9:21 AM, mcmurchy1917techy via gnucash-user <gnucash-user at gnucash.org> wrote:
>>
>> Hi everyone
>>
>> My system is
>>
>>    Slackware Current
>>    KDE5 Plasma
>>
>> with
>>
>>    gtk+3    3.24.14
>>    linux    5.4.25
>>    gnucash  3.8
>>
>> I have a config file .config/gtk-3.0/gtk.css which contains the folllowing
>>
>>> @import 'colors.css';
>>>
>>> scrollbar {
>>>    -GtkScrollbar-has-backward-stepper: true;
>>>    -GtkScrollbar-has-forward-stepper: true;
>>> }
>>>
>>> scrollbar, scrollbar button, scrollbar slider {
>>>     min-width: 24px;
>>>     min-height: 36px;
>> This gives me a wide vertical scroll bar with a block at each end where the up and down arrows for the scrollbar are supposed to go, under normal operation the blocks are blank/empty they don't contain the up/down arrows.
>>
>> If I click the blocks at each end of the scroll bar they behave as scrolling up and down as would be expected.
>>
>> If I open up a dialog like File->Properties the character < appears in the top block and the character > appears in the bottom block of the vertical scroll bar. When the dialog is closed these characters disappear.
>>
>> So two questions
>>
>> 1. How do I get the correct characters to appear at each end of the
>>    scrollbar i.e. the upward pointing arrow and the downward pointing
>>    arrow?
>> 2. How do I get these characters to display under normal operation i.e.
>>    other then when displaying a dialog box?
>>
>> Thanks
> _______________________________________________
> 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