Commit a9b50b6f authored by Cosimo Cecchi's avatar Cosimo Cecchi

scale: port scale values to gadgets

And add a default color like it was before.
This also fixes other issues with scale values interacting with scale
mark labels, which were buggy at least since 3.18.
parent 27b53b58
......@@ -4045,3 +4045,9 @@ gtk_range_get_slider_gadget (GtkRange *range)
{
return range->priv->slider_gadget;
}
GtkCssGadget *
gtk_range_get_gadget (GtkRange *range)
{
return range->priv->gadget;
}
......@@ -52,6 +52,7 @@ void _gtk_range_set_steppers (GtkRange *range
void gtk_range_set_slider_use_min_size (GtkRange *range,
gboolean use_min_size);
GtkCssGadget *gtk_range_get_slider_gadget (GtkRange *range);
GtkCssGadget *gtk_range_get_gadget (GtkRange *range);
G_END_DECLS
......
This diff is collapsed.
......@@ -2641,6 +2641,8 @@ scale {
}
}
value { color: gtkalpha(currentColor, 0.4); }
marks {
color: gtkalpha(currentColor, 0.4);
......
......@@ -2793,6 +2793,8 @@ scale {
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
scale value {
color: alpha(currentColor,0.4); }
scale marks {
color: alpha(currentColor,0.4); }
scale marks.top {
......
......@@ -2824,6 +2824,8 @@ scale {
box-shadow: none;
text-shadow: none;
-gtk-icon-shadow: none; }
scale value {
color: alpha(currentColor,0.4); }
scale marks {
color: alpha(currentColor,0.4); }
scale marks.top {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment