changeset 163:e1c96c0b26df

Bug 3000: Color of enabled exclude filter is difficult to understand Reviewed-by: ykubota https://github.com/HeapStats/heapstats/pull/34
author Yasumasa Suenaga <yasuenag@gmail.com>
date Thu, 06 Oct 2016 18:46:11 +0900
parents bae08f14b21c
children 20ded99138ad
files ChangeLog analyzer/fx/src/main/java/jp/co/ntt/oss/heapstats/plugin/builtin/snapshot/tabs/HistogramController.java
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 06 18:45:09 2016 +0900
+++ b/ChangeLog	Thu Oct 06 18:46:11 2016 +0900
@@ -2,6 +2,7 @@
 
 	* Bug 2999: HeapStats agent should notify when ring buffer is overwritten
 	* Bug 3189: Invalid XML Schema
+	* Bug 3000: Color of enabled exclude filter is difficult to understand
 
 2016-09-14  Yasumasa Suenaga <yasuenag@gmail.com>
 
--- a/analyzer/fx/src/main/java/jp/co/ntt/oss/heapstats/plugin/builtin/snapshot/tabs/HistogramController.java	Thu Oct 06 18:45:09 2016 +0900
+++ b/analyzer/fx/src/main/java/jp/co/ntt/oss/heapstats/plugin/builtin/snapshot/tabs/HistogramController.java	Thu Oct 06 18:46:11 2016 +0900
@@ -175,7 +175,7 @@
                 BindingFilter filter = (BindingFilter)getTableRow().getItem();
                 
                 if(!empty && (filter != null)){
-                    styleProperty().bind(Bindings.createStringBinding(() -> filter.appliedProperty().get() ? "-fx-text-fill: blue;" : "-fx-text-fill: black;", filter.appliedProperty()));
+                    styleProperty().bind(Bindings.createStringBinding(() -> filter.appliedProperty().get() ? "-fx-background-color: skyblue;" : "-fx-background-color: white;", filter.appliedProperty()));
                     setText(filter.getName());
                 }