[gtk+] Adwaita: set a min-width on horizontal spinbutton entry
- From: Lapo Calamandrei <lapo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Adwaita: set a min-width on horizontal spinbutton entry
- Date: Fri, 11 Mar 2016 17:03:53 +0000 (UTC)
commit 3c89c11328e4ec030d4de83ea22e4deefea87fda
Author: Lapo Calamandrei <calamandrei gmail com>
Date: Fri Mar 11 18:02:37 2016 +0100
Adwaita: set a min-width on horizontal spinbutton entry
to accomodate at least 3 chars, before overflowing.
gtk/theme/Adwaita/_common.scss | 1 +
gtk/theme/Adwaita/gtk-contained-dark.css | 1 +
gtk/theme/Adwaita/gtk-contained.css | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss
index c8ed449..6fc2062 100644
--- a/gtk/theme/Adwaita/_common.scss
+++ b/gtk/theme/Adwaita/_common.scss
@@ -924,6 +924,7 @@ spinbutton {
padding: 0;
entry {
+ min-width: 28px;
margin: 0;
background: none;
border: none;
diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css
index 92b261d..e41c8a7 100644
--- a/gtk/theme/Adwaita/gtk-contained-dark.css
+++ b/gtk/theme/Adwaita/gtk-contained-dark.css
@@ -1240,6 +1240,7 @@ button:visited {
spinbutton:not(.vertical) {
padding: 0; }
spinbutton:not(.vertical) entry, spinbutton:not(.vertical) spinbutton:not(.vertical) {
+ min-width: 28px;
margin: 0;
background: none;
border: none;
diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css
index f981dbd..dd0eab1 100644
--- a/gtk/theme/Adwaita/gtk-contained.css
+++ b/gtk/theme/Adwaita/gtk-contained.css
@@ -1244,6 +1244,7 @@ button:visited {
spinbutton:not(.vertical) {
padding: 0; }
spinbutton:not(.vertical) entry, spinbutton:not(.vertical) spinbutton:not(.vertical) {
+ min-width: 28px;
margin: 0;
background: none;
border: none;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]