Skip to content

Override of ToolkitResourceKeys.InputPaddingKey not working #541

@Irame

Description

@Irame

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions