diff options
| author | Tavmjong Bah <tavmjong@free.fr> | 2017-12-19 19:18:14 +0000 |
|---|---|---|
| committer | Tavmjong Bah <tavmjong@free.fr> | 2017-12-19 19:18:14 +0000 |
| commit | 0462e9143d161a3c7d6077d9f40dcfd13ca27493 (patch) | |
| tree | f1c256f1d09940128df3a7b571414a94d0bef9a3 /share | |
| parent | Enable SimpleFilterModifier to handle blend and blur filter primitives at the... (diff) | |
| download | inkscape-0462e9143d161a3c7d6077d9f40dcfd13ca27493.tar.gz inkscape-0462e9143d161a3c7d6077d9f40dcfd13ca27493.zip | |
Replace the Gtk::Range by Gtk::Scale in the InkSpinScale widget.
The Gtk::Scale is more likely to produce a satisfactory result independent of theme.
Diffstat (limited to 'share')
| -rw-r--r-- | share/ui/style.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/share/ui/style.css b/share/ui/style.css index ff353ebfe..190aa9f53 100644 --- a/share/ui/style.css +++ b/share/ui/style.css @@ -118,6 +118,7 @@ combobox window.popup scrolledwindow treeview separator { border-style: solid; border-width: 1px; border-radius: 3px; + padding: 0px; } #InkSpinScale spinbutton { @@ -128,6 +129,25 @@ combobox window.popup scrolledwindow treeview separator { padding: 0 0 0 1px; } +/* Hide slider */ +#InkSpinScale slider { + background: none; + border: none; + outline: none; + min-width: 0px; + min-height: 0px; + padding: 0px; + margin: 0px; +} + +#InkSpinScale scale { + padding: 2px; +} + +#InkSpinScale trough { + min-height: 24px; +} + #InkSpinScale box.active { box-shadow: 0 0 0 1px rgb(74,144,217); } |
