Am 30.04.22 um 20:07 schrieb gene heskett:
On Saturday, 30 April 2022 12:11:44 EDT Hans Unzner wrote:
Am 30.04.22 um 14:58 schrieb gene heskett:
Greeting all;
One of the things that seems to be getting more pronounced as my eyes
age, is the "dimming" of such as the halmeter box when It doesn't
have
"focus". We start a halmeter to watch things progress and making it
hard to read is not at all that helpfull.
Can this "dimming" effect when it doesn't have focus be restricted to
the boxes borders, leaving nice clear full contrast text in its
contents?
Thank you.
Cheers, Gene Heskett.
You can achieve this if you insert following (in case you have a light
theme, otherwise use white)
label:backdrop {
color: black;
}
into
~/.config/gtk-3.0/gtk.css
(create this fi> le if not existng)
That was quick, didn't even have time to refill the empty coffee pot,
thank you Hans.
Had to create the file, but that does exactly what I wanted. Is there a
similar way to make the halmeter text larger so that it can be read at a
greater distance? The true/false gets lost in that size of box, and when
trouleshooting a funkity home switch on my b axis, six feet away watching
a mirror watching he monitor, was also difficult to see. There's plenty
of room to double the height of the text.
You can adjust a lot with CSS (see
https://docs.gtk.org/gtk3/css-properties.html#font-properties), but this
will affect the whole system.
You can add the lines
label {
font-size: 20;
}
but this would increase the size of all labels in Gtk3 applications
system-wide so I wouldn't recommend that.
For example this will lead to the fact that Gmoccapy wouldn't fit any
longer in a 1024x768 screen.
That could be well done in the halmeter sources but I think the majority
of users want to kepp the space saving small text, so you have to carry
around your custom version all the time...
/Hans
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers