mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
W32: Fix dummy prelight style for check/radio buttons
Use a dummy transparent gradient instead of actual color (which screws up focus rectangle on prelight), and apply to non-prelight state as well. https://bugzilla.gnome.org/show_bug.cgi?id=728807
This commit is contained in:
parent
f4b61e92f6
commit
5309149f75
@ -160,9 +160,11 @@ GtkRadioButton:prelight:selected {
|
||||
}
|
||||
|
||||
/* This is meaningless, it just enables prelight propagation to check/radio mark */
|
||||
GtkCheckButton,
|
||||
GtkRadioButton,
|
||||
GtkCheckButton:prelight,
|
||||
GtkRadioButton:prelight {
|
||||
color: @fg_color;
|
||||
background-image: -gtk-gradient (linear, left top, right bottom, from(transparent), to(transparent));
|
||||
}
|
||||
|
||||
.check {
|
||||
|
Loading…
Reference in New Issue
Block a user