Browse Source

optical changes in statisticGraphs

dominik.rieder 7 years ago
parent
commit
e3f2b0a71c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/ui/view/StatisticGraphPanel.java

+ 2 - 1
src/ui/view/StatisticGraphPanel.java

@@ -259,7 +259,8 @@ public class StatisticGraphPanel extends JSplitPane {
 			b = new JLabel(property);
 		}
 		// b.setBackground(set.getColor());
-		b.setBorder(BorderFactory.createLineBorder(set.getColor()));
+		b.setBorder(BorderFactory.createLineBorder(set.getColor(), 2));
+		b.setHorizontalAlignment(SwingConstants.CENTER);
 		int color = Math.max(Math.max(set.getColor().getRed(), set.getColor().getGreen()), set.getColor().getBlue());
 
 		b.setOpaque(true);