Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NumberBox does not respect ThemeManager theme #120

Open
dostjh opened this issue Nov 29, 2023 · 1 comment
Open

NumberBox does not respect ThemeManager theme #120

dostjh opened this issue Nov 29, 2023 · 1 comment

Comments

@dostjh
Copy link

dostjh commented Nov 29, 2023

I implemented NumberBox in my application that is set up to work in Dark Mode. However, NumberBox did not respect the theme.

Specifying ThemeManager.RequestedTheme on the control itself can be used as a workaround.

<ui:NumberBox Header="Clients to start" Value="{Binding NumberOfClientsToStart, Mode=TwoWay}" InputScope="Number" SpinButtonPlacementMode="Compact" Text="Clients to start"/>
image

<ui:NumberBox Header="Clients to start" Value="{Binding NumberOfClientsToStart, Mode=TwoWay}" InputScope="Number" SpinButtonPlacementMode="Compact" Text="Clients to start" ui:ThemeManager.RequestedTheme="Dark"/>
image

@dostjh
Copy link
Author

dostjh commented Nov 29, 2023

Apologies. This was submitted to the wrong repository by mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant