diff --git a/SunnyUI/Controls/UIDoubleUpDown.cs b/SunnyUI/Controls/UIDoubleUpDown.cs index cedc724d..db8d00f1 100644 --- a/SunnyUI/Controls/UIDoubleUpDown.cs +++ b/SunnyUI/Controls/UIDoubleUpDown.cs @@ -382,5 +382,7 @@ namespace Sunny.UI btnAdd.Width = btnDec.Width = buttonWidth; } } + + public override Color ForeColor { get => pnlValue.ForeColor; set => pnlValue.ForeColor = value; } } } \ No newline at end of file diff --git a/SunnyUI/Controls/UIIntegerUpDown.cs b/SunnyUI/Controls/UIIntegerUpDown.cs index 8e90a278..59e3c75e 100644 --- a/SunnyUI/Controls/UIIntegerUpDown.cs +++ b/SunnyUI/Controls/UIIntegerUpDown.cs @@ -359,5 +359,6 @@ namespace Sunny.UI btnAdd.Width = btnDec.Width = buttonWidth; } } + public override Color ForeColor { get => pnlValue.ForeColor; set => pnlValue.ForeColor = value; } } } \ No newline at end of file