! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Unable to change text color
Status:
RESOLVED: FIXED
Product:
Xfce4-genmon-plugin
Component:
General

Comments

Description contact 2017-10-21 12:18:22 CEST
Created attachment 7379 
Shows the panel bug, the settings with command 'echo test' and the gtk.css with sample CSS-rule

I tried this plugin and noticed the colors don't match the color of the other panel components. I tried to change the color using the ~/.config/gtk-3.0/gtk.css even by applying the sample styling mentioned in https://git.xfce.org/panel-plugins/xfce4-genmon-plugin/tree/CSS%20Styling.txt but the color didn't change.

I'm using the Arc theme: https://github.com/horst3180/arc-theme
Panel version: 4.12.1
Genmon plugin version: 4.0.0
GTK 3 version: 3.22.24
Comment 1 ToZ editbugs 2017-10-30 11:40:08 CET
Created attachment 7399 
image

Using your same snippet here works for me. See attached image.

Is there something else in your css file that may be overriding it? Can you post back your complete gtk.css file?

Can also try with a new user profile?
Comment 2 ToZ editbugs 2017-10-30 17:22:14 CET
Sorry, my bad. The CSS styling enhancements weren't available in 4.0.0 (I'm running 4.0.1). I've just released 4.0.1 where it is included. Can you give that version a try?

To get something similar with 4.0.0, you could try:

#genmon-1>widget>box>box>label {
        color: rgb(255,0,0);
	font-size: 8px;
	padding-top: 4px;
}

...where "#genmon-1" is the actual name of your genmon plugin that you can get from hovering your mouse over the name in the panel properties, Items tab. Note that the '#' is mandatory.
Comment 3 contact 2017-12-01 09:59:45 CET
Thank you very much and please excuse the delay. Updating to 4.0.1 solved the problem.

Bug #13942

Reported by:
contact
Reported on: 2017-10-21
Last modified on: 2017-12-01

People

Assignee:
Florian Rivoal
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information