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.
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:
Community.VisualStudio.Toolkit/demo/VSSDK.TestExtension/ToolWindows/ThemeWindow/ThemeWindowDemo.xaml
Lines 16 to 17 in 5301fca
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.