MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

DatePicker style with margin issues

Open quicoli opened this issue 4 years ago • 5 comments

Have some of you seen this before?

Version 3

image

quicoli avatar Jun 08 '20 11:06 quicoli

This is a bit of an unusual problem. Perhaps try enabling LayoutRounding?

If possible can you provide a project that reproduces the problem?

Keboo avatar Jun 14 '20 21:06 Keboo

To fix that I had to override the style and change some margins and font size...

Thank you...

On Sun, Jun 14, 2020, 22:29 Kevin B [email protected] wrote:

This is a bit of an unusual problem. Perhaps try enabling LayoutRounding https://docs.microsoft.com/en-us/dotnet/api/system.windows.frameworkelement.uselayoutrounding?view=netcore-3.1 ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/issues/1905#issuecomment-643824622, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB775D7C43GW7UOZDVNCJW3RWU6KPANCNFSM4NYKCVVQ .

quicoli avatar Jun 15 '20 05:06 quicoli

@quicoli could you post your solution to this issue please

stephenburrows avatar Nov 02 '20 18:11 stephenburrows

calendar.txt

complete style is in file above.

 <Style TargetType="DatePicker" BasedOn="{StaticResource MstatMaterialDesignDatePicker}">
      <Setter Property="Width" Value="270" />
      <Setter Property="FontSize" Value="{DynamicResource DefaultFontSize}"/>
      <Setter Property="Foreground" Value="{DynamicResource InputText}"/>
</Style>

quicoli avatar Nov 03 '20 09:11 quicoli

@quicoli thanks will give a whirl

stephenburrows avatar Nov 03 '20 10:11 stephenburrows