Skip to content

Override of ToolkitResourceKeys.InputPaddingKey not working #541

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

Open
Irame opened this issue Feb 8, 2025 · 0 comments
Open

Override of ToolkitResourceKeys.InputPaddingKey not working #541

Irame opened this issue Feb 8, 2025 · 0 comments

Comments

@Irame
Copy link

Irame commented Feb 8, 2025

I've wanted to use this extension for a long time to theme the dialogs of my extension and now I finally found the time to do it!

The theming works well but I find the padding for TextBoxex a bit excessive and want to tone it down a notch. I noticed in the test project that there is a comment that shows a way to do this:

<!-- Uncomment the line below to override the padding used in TextBox and ComboBox controls. -->
<!--<Thickness x:Key="{x:Static toolkit:ToolkitResourceKeys.InputPaddingKey}">1,1,1,1</Thickness>-->

But if I add this line to my code nothing changes. Even if I uncomment it in the test extension it just changes the padding of the Border at the bottom of the window and not the padding for TextBoxes.

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