[gtk+/gtk-3-16] Adwaita: set -GtkRange-trough-border: 0 for scrollbars
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-16] Adwaita: set -GtkRange-trough-border: 0 for scrollbars
- Date: Tue, 8 Sep 2015 20:21:57 +0000 (UTC)
commit 40622c6924a472a22c6212bf2bcfd439b0bf30ae
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Tue Sep 8 22:12:12 2015 +0200
Adwaita: set -GtkRange-trough-border: 0 for scrollbars
which fixes firefox scrollbar not being fittsy when maximixed.
gtk/theme/Adwaita/_common.scss | 2 +-
gtk/theme/Adwaita/gtk-contained-dark.css | 2 +-
gtk/theme/Adwaita/gtk-contained.css | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index 20e6839..f095658 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1880,7 +1880,7 @@ column-header.button.dnd { // for treeview-like derive widgets
.scrollbar {
-GtkRange-slider-width: 13;
- -GtkRange-trough-border: 1;
+ -GtkRange-trough-border: 0;
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
-GtkScrollbar-min-slider-length: 42; // minimum size for the slider.
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 57604aa..6398d5c 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2441,7 +2441,7 @@ column-header .titlebar .button.titlebutton,
**************/
.scrollbar {
-GtkRange-slider-width: 13;
- -GtkRange-trough-border: 1;
+ -GtkRange-trough-border: 0;
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
-GtkScrollbar-min-slider-length: 42;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index ea1fc92..77a480b 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2447,7 +2447,7 @@ column-header .titlebar .button.titlebutton,
**************/
.scrollbar {
-GtkRange-slider-width: 13;
- -GtkRange-trough-border: 1;
+ -GtkRange-trough-border: 0;
-GtkScrollbar-has-backward-stepper: false;
-GtkScrollbar-has-forward-stepper: false;
-GtkScrollbar-min-slider-length: 42;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]