summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.gui
diff options
context:
space:
mode:
authorShireesh Anjal <shireesh@gluster.com>2011-08-03 18:54:19 +0530
committerShireesh Anjal <shireesh@gluster.com>2011-08-03 18:59:15 +0530
commit04c07646fa7d429eaca68c3b5166952fd92abf12 (patch)
tree1064c3dbef652684412ce8dbccc2f2beba43b54e /src/com.gluster.storage.management.gui
parent9ae3f45cf689e60d7494543509531fd1349bfbfd (diff)
Fixed Bug 3173 - Wrong password does not report problem properly.
Diffstat (limited to 'src/com.gluster.storage.management.gui')
-rw-r--r--src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/utils/ChartViewerComposite.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/utils/ChartViewerComposite.java b/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/utils/ChartViewerComposite.java
index e4d00f75..d89923f2 100644
--- a/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/utils/ChartViewerComposite.java
+++ b/src/com.gluster.storage.management.gui/src/com/gluster/storage/management/gui/utils/ChartViewerComposite.java
@@ -252,7 +252,7 @@ public final class ChartViewerComposite extends Composite implements PaintListen
yAxisPrimary.getMajorGrid().setTickStyle(TickStyle.LEFT_LITERAL);
yAxisPrimary.getMajorGrid().setLineAttributes(LineAttributesImpl.create(ColorDefinitionImpl.GREY(), LineStyle.SOLID_LITERAL, 1));
yAxisPrimary.getLabel().setVisible(true);
- yAxisPrimary.getLabel().getCaption().setFont(createChartFont());
+ yAxisPrimary.getLabel().getCaption().getFont().setSize(8);
yAxisPrimary.setFormatSpecifier(new NumberFormatSpecifierImpl() {
@Override
public String getSuffix() {
@@ -283,10 +283,6 @@ public final class ChartViewerComposite extends Composite implements PaintListen
return xAxisPrimary;
}
- public static FontDefinition createChartFont() {
- return FontDefinitionImpl.create("Serif", 8, false, false, false, false, false, 0d, TextAlignmentImpl.create());
- }
-
/**
* @param categories
* Categories of the pie chart