Adwaita: fix a thinko wrt fine-tune scales

added a scale node padding compensation for the trough growth in
fine-tune mode, so now the scale node doesn't grow anymore when
mark labels are present.
This commit is contained in:
Lapo Calamandrei 2016-03-04 18:36:36 +01:00
parent 7382f3c347
commit 88d51a8604
3 changed files with 22 additions and 2 deletions

View File

@ -2516,6 +2516,16 @@ scale {
}
&.fine-tune {
&.horizontal {
padding-top: 10px;
padding-bottom: 10px;
}
&.vertical {
padding-left: 10px;
padding-right: 10px;
}
slider { margin: -6px; }
fill,
@ -2630,7 +2640,6 @@ scale {
}
}
}
&.horizontal {
indicator {
min-height: $_marks_lenght;
@ -2645,7 +2654,6 @@ scale {
}
&.fine-tune indicator { min-width: ($_marks_lenght - 2px); }
}
// *WARNING* scale with marks madness following
// FIXME: OSD and selected list rows missing, I don't feel like adding the other 144 assets needed for those...

View File

@ -2615,6 +2615,12 @@ scale {
min-height: 18px;
min-width: 18px;
margin: -8px; }
scale.fine-tune.horizontal {
padding-top: 10px;
padding-bottom: 10px; }
scale.fine-tune.vertical {
padding-left: 10px;
padding-right: 10px; }
scale.fine-tune slider {
margin: -6px; }
scale.fine-tune fill,

View File

@ -2646,6 +2646,12 @@ scale {
min-height: 18px;
min-width: 18px;
margin: -8px; }
scale.fine-tune.horizontal {
padding-top: 10px;
padding-bottom: 10px; }
scale.fine-tune.vertical {
padding-left: 10px;
padding-right: 10px; }
scale.fine-tune slider {
margin: -6px; }
scale.fine-tune fill,