* 设置控件自定义颜色时的一些问题修改
This commit is contained in:
parent
e4b6be94e4
commit
bafb6533b5
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -190,6 +190,8 @@ namespace Sunny.UI
|
||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||
{
|
||||
base.SetStyleColor(uiColor);
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
fillColor = ChartStyle.BackColor;
|
||||
foreColor = ChartStyle.ForeColor;
|
||||
}
|
||||
|
@ -144,9 +144,9 @@ namespace Sunny.UI
|
||||
|
||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||
{
|
||||
base.SetStyleColor(uiColor);
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
base.SetStyleColor(uiColor);
|
||||
fillColor = uiColor.PlainColor;
|
||||
}
|
||||
|
||||
|
@ -105,6 +105,8 @@ namespace Sunny.UI
|
||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||
{
|
||||
base.SetStyleColor(uiColor);
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
Panel.BackColor = uiColor.PlainColor;
|
||||
}
|
||||
|
||||
|
@ -280,6 +280,7 @@ namespace Sunny.UI
|
||||
{
|
||||
base.SetStyleColor(uiColor);
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
symbolColor = foreColor = uiColor.LabelForeColor;
|
||||
}
|
||||
|
||||
|
@ -180,6 +180,7 @@ namespace Sunny.UI
|
||||
{
|
||||
base.SetStyleColor(uiColor);
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
foreColor = uiColor.RectColor;
|
||||
Invalidate();
|
||||
}
|
||||
|
@ -111,6 +111,7 @@ namespace Sunny.UI
|
||||
{
|
||||
base.SetStyleColor(uiColor);
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
markColor = uiColor.RectColor;
|
||||
Invalidate();
|
||||
}
|
||||
|
@ -791,6 +791,7 @@ namespace Sunny.UI
|
||||
public override void SetStyleColor(UIBaseStyle uiColor)
|
||||
{
|
||||
base.SetStyleColor(uiColor);
|
||||
if (uiColor.IsCustom()) return;
|
||||
|
||||
foreach (var button in buttons.Values)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user