Setting a Foreground
on a SplitButton
does not apply to the dropdown half
#7673
Labels
Foreground
on a SplitButton
does not apply to the dropdown half
#7673
re: microsoft/terminal#13871
See source:
microsoft-ui-xaml/dev/SplitButton/SplitButton.xaml
Lines 290 to 293 in 3373245
We were setting
Foreground
on the SplitButton we use as our new tab button. However, the visual styles for the secondary button useForeground="{ThemeResource SplitButtonForegroundSecondary}"
, so they'll just always ignore theForeground
property (even if the primary button respects it).Also, this seems to have regressed in #3887, which first shipped in 2.6.1
https://github.com/microsoft/microsoft-ui-xaml/blame/33732458ede38166f9127675898e4760c82b89bb/dev/SplitButton/SplitButton.xaml#L292
If this is by design, that's fine - but it should be documented as such.
The text was updated successfully, but these errors were encountered: