diff options
| author | Shireesh Anjal <shireesh@gluster.com> | 2011-08-03 18:54:19 +0530 |
|---|---|---|
| committer | Shireesh Anjal <shireesh@gluster.com> | 2011-08-03 18:59:15 +0530 |
| commit | 04c07646fa7d429eaca68c3b5166952fd92abf12 (patch) | |
| tree | 1064c3dbef652684412ce8dbccc2f2beba43b54e /src/com.gluster.storage.management.gui | |
| parent | 9ae3f45cf689e60d7494543509531fd1349bfbfd (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.java | 6 |
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 |
