diff --git a/Bin/SunnyUI.dll b/Bin/SunnyUI.dll index 76b6c064..a4c19b8b 100644 Binary files a/Bin/SunnyUI.dll and b/Bin/SunnyUI.dll differ diff --git a/SunnyUI/Charts/UIBarChartEx.cs b/SunnyUI/Charts/UIBarChartEx.cs index 7fac6397..ec3213bc 100644 --- a/SunnyUI/Charts/UIBarChartEx.cs +++ b/SunnyUI/Charts/UIBarChartEx.cs @@ -584,7 +584,7 @@ namespace Sunny.UI float w = DrawSize.Width * data.Data.Count * 1.0f / DataCount; SizeF sf = g.MeasureString(data.Name, SubFont); if (Option.XAxis.AxisLabel.Angle != 0) - g.DrawString(data.Name, SubFont, ChartStyle.ForeColor, new PointF(start + w / 2.0f - sf.Width / 2.0f, DrawOrigin.Y + Option.Grid.Bottom / 2.0f), + g.DrawString(data.Name, SubFont, ChartStyle.ForeColor, new PointF(start + w / 2.0f - 10, DrawOrigin.Y + Option.Grid.Bottom / 2.0f), new StringFormat() { Alignment = StringAlignment.Center }, (3600 - Option.XAxis.AxisLabel.Angle) % 360); else g.DrawString(data.Name, SubFont, ChartStyle.ForeColor, start + w / 2.0f - sf.Width / 2.0f, DrawOrigin.Y + Option.XAxis.AxisTick.Length + Option.XAxis.AxisTick.Distance); @@ -598,7 +598,7 @@ namespace Sunny.UI { SizeF sf = g.MeasureString(data.Name, SubFont); if (Option.XAxis.AxisLabel.Angle != 0) - g.DrawString(data.Name, SubFont, ChartStyle.ForeColor, new PointF(start - sf.Width / 2.0f, DrawOrigin.Y + Option.Grid.Bottom / 2.0f), + g.DrawString(data.Name, SubFont, ChartStyle.ForeColor, new PointF(start - 10, DrawOrigin.Y + Option.Grid.Bottom / 2.0f), new StringFormat() { Alignment = StringAlignment.Center }, (3600 - Option.XAxis.AxisLabel.Angle) % 360); else g.DrawString(data.Name, SubFont, ChartStyle.ForeColor, start - sf.Width / 2.0f, DrawOrigin.Y + Option.XAxis.AxisTick.Length + Option.XAxis.AxisTick.Distance); diff --git a/SunnyUI/Controls/UICheckBox.cs b/SunnyUI/Controls/UICheckBox.cs index e1021e1d..37ce10d1 100644 --- a/SunnyUI/Controls/UICheckBox.cs +++ b/SunnyUI/Controls/UICheckBox.cs @@ -32,7 +32,7 @@ namespace Sunny.UI [DefaultEvent("ValueChanged")] [DefaultProperty("Text")] [ToolboxItem(true)] - public sealed class UICheckBox : UIControl + public class UICheckBox : UIControl { public UICheckBox() { diff --git a/SunnyUI/Controls/UISymbolButton.cs b/SunnyUI/Controls/UISymbolButton.cs index 9b95dbb5..7f7e28c9 100644 --- a/SunnyUI/Controls/UISymbolButton.cs +++ b/SunnyUI/Controls/UISymbolButton.cs @@ -31,7 +31,7 @@ namespace Sunny.UI { [DefaultEvent("Click")] [DefaultProperty("Text")] - public sealed class UISymbolButton : UIButton + public class UISymbolButton : UIButton { private int _symbolSize = 24; private int _imageInterval = 2;