[GNC] configuring scroll bars
Adrien Monteleone
adrien.monteleone at lusfiber.net
Wed Mar 18 12:45:06 EDT 2020
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
More information about the gnucash-user
mailing list