From 09b25f9649c65cdb7f2fbc2e54fde5dbdce70c6d Mon Sep 17 00:00:00 2001 From: Ali_Zhagparov Date: Mon, 22 Oct 2018 10:14:08 +0600 Subject: [PATCH 1/2] make rank image width narrower --- src/main/java/org/jabref/gui/maintable/MainTable.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/jabref/gui/maintable/MainTable.css b/src/main/java/org/jabref/gui/maintable/MainTable.css index 5855a86c120..9cb5499d47d 100644 --- a/src/main/java/org/jabref/gui/maintable/MainTable.css +++ b/src/main/java/org/jabref/gui/maintable/MainTable.css @@ -22,10 +22,11 @@ } .rating > .container > .button { - -fx-pref-width: 10; + -fx-pref-width: 16; -fx-pref-height: 10; - -fx-background-size: cover; - -fx-padding: 0; + -fx-background-repeat: no-repeat no-repeat; + -fx-background-size: 16 16; + -fx-padding: 0; } .rating > .container > .button.strong { From 3e1c7a75f42f93d46caf86da621a2f4ed0e56f2f Mon Sep 17 00:00:00 2001 From: Ali_Zhagparov Date: Mon, 22 Oct 2018 16:17:34 +0600 Subject: [PATCH 2/2] delete border from rank button --- src/main/java/org/jabref/gui/maintable/MainTable.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/jabref/gui/maintable/MainTable.css b/src/main/java/org/jabref/gui/maintable/MainTable.css index 9cb5499d47d..6e5bac6ed4e 100644 --- a/src/main/java/org/jabref/gui/maintable/MainTable.css +++ b/src/main/java/org/jabref/gui/maintable/MainTable.css @@ -26,6 +26,8 @@ -fx-pref-height: 10; -fx-background-repeat: no-repeat no-repeat; -fx-background-size: 16 16; + -fx-border-style: none; + -fx-border-width: 0; -fx-padding: 0; }