Use TextBox.ForegroundProperty

This commit is contained in:
Jack251970 2025-09-18 21:19:49 +08:00
parent 245c492906
commit 72dae631fe

View file

@ -227,7 +227,7 @@ namespace Flow.Launcher.ViewModel
TextWrapping = TextWrapping.Wrap,
Margin = SettingPanelItemTopBottomMargin
};
textBox.SetResourceReference(TextBlock.ForegroundProperty, "Color04B");
textBox.SetResourceReference(TextBox.ForegroundProperty, "Color04B");
grid.Children.Add(textBox);
return new UserControl
{