mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
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:
parent
50598ee08f
commit
54858574a3
@ -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; }
|
||||
|
@ -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,
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user