[gtk+] Adwaita: set -GtkRange-trough-border: 0 for scrollbars
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: set -GtkRange-trough-border: 0 for scrollbars
- Date: Tue, 8 Sep 2015 20:13:20 +0000 (UTC)
commit 50983101d4b721c4ab6ae9c2c76b420a23b8320b
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 45ce720..51b2be2 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -1845,7 +1845,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 18ad2ae..792492c 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -2351,7 +2351,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 2dd9544..c003c01 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -2357,7 +2357,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]