Adwaita: really fix scale with marks

added a min-height/width compensation too when in fine-tune mode,
so scale with marks and no labels doesn't make the scale node grow
when in fine-tune.
This commit is contained in:
Lapo Calamandrei 2016-03-04 19:16:48 +01:00
parent 50598ee08f
commit 54858574a3
3 changed files with 10 additions and 4 deletions

View File

@ -2519,11 +2519,13 @@ scale {
&.horizontal {
padding-top: 10px;
padding-bottom: 10px;
min-height: 14px;
}
&.vertical {
padding-left: 10px;
padding-right: 10px;
min-width: 14px;
}
slider { margin: -6px; }

View File

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

View File

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