Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-01-10 09:08:19

h.wurst
Member
Registered: 2020-11-20
Posts: 16

[SOLVED] how to increase width of xfce4-timer-plugin on panel?

hi there,

i am using xfce4 with arch linux on a 4k desktop and i use the xfce4-timer-plugin quite often.
It is really difficult for me to hit the very very small stripe of the "xfce4-timer-plugin" on the panel:
https://imgur.com/a/00aZ0V8

I have found this to change the color but not the width or size of the stripe in the file "/home/USER/.config/gtk-3.0/gtk.css"

#xfce4-timer-plugin-2 progress { background-color: blue; }
#xfce4-timer-plugin-2 trough { background-color: white; }

Is there a way to increase the width of this way too small stripe?

Last edited by h.wurst (2024-01-11 07:58:21)

Offline

#2 2024-01-10 10:52:07

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,068

Re: [SOLVED] how to increase width of xfce4-timer-plugin on panel?

Try using padding:

#xfce4-timer-plugin-2 progress { padding: 2px; }
#xfce4-timer-plugin-2 trough { padding: 4px; }

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

#3 2024-01-10 13:58:05

h.wurst
Member
Registered: 2020-11-20
Posts: 16

Re: [SOLVED] how to increase width of xfce4-timer-plugin on panel?

Thank you very much, it is much easier now to use the timer smile
I use this config now, which looks good for my eyes:

#xfce4-timer-plugin-2 progress { background-color: blue; }
#xfce4-timer-plugin-2 trough { background-color: white; }
#xfce4-timer-plugin-2 progress { padding: 0px; }
#xfce4-timer-plugin-2 trough { padding: 10px; }

Are there any more options (beside the "padding") i can try to configure the style of this object?
Or a wiki/documentation where i can read the options for the file in "/home/USER/.config/gtk-3.0/gtk.css"?

Last edited by h.wurst (2024-01-10 16:19:10)

Offline

#4 2024-01-10 15:25:59

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,068

Re: [SOLVED] how to increase width of xfce4-timer-plugin on panel?

h.wurst wrote:

Are there any more options (beside the "padding") i can try to configure the style of this object?
Or a wiki/documentation where i can read the options for the file in "/home/USER/.config/gtk-3.0/gtk.css"?

I just posted some recent info on GTK CSS resources in another thread. In addition, specific to the progressbar element, the GTK3 progressbar page lists what other css classes are available for use.


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

#5 2024-01-10 16:18:52

h.wurst
Member
Registered: 2020-11-20
Posts: 16

Re: [SOLVED] how to increase width of xfce4-timer-plugin on panel?

Thank you smile

Offline

Board footer

Powered by FluxBB