Note that there are some explanatory texts on larger screens.

plurals
  1. POwpf datepicker shows truncated month
    text
    copied!<p>This doesn't seem to always be the case, but often the <a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.datepicker%28v=VS.100%29.aspx" rel="nofollow noreferrer">datepicker</a> month label is truncated when expanded to select dates : <img src="https://i.stack.imgur.com/NKg9G.png" alt="screenshot"> (while the datepicker is inserted in a grid with "*" space). Has anyone encountered this as well ? If so how can we solve this issue ?</p> <p>EDIT 13/07/2011 : sample xaml</p> <pre><code>&lt;UserControl x:Class="Module.View.ConfigView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"&gt; &lt;Grid&gt; &lt;Expander Header="Options" ExpandDirection="Down" IsExpanded="True"&gt; &lt;Grid&gt; &lt;StackPanel Orientation="Horizontal" Margin="5,5,5,5"&gt; &lt;Label Width="50" HorizontalAlignment="Left"&gt;From :&lt;/Label&gt; &lt;DatePicker HorizontalAlignment="Left"/&gt; &lt;/StackPanel&gt; &lt;/Grid&gt; &lt;/Expander&gt; &lt;/Grid&gt; </code></pre> <p></p> <p>EDIT 21/07/2011 : I tested following your comments, indeed the issue comes from the theme I applied. Since I did not change the DatePicker itself, I guess I need to find the dependancy and understand the building blocks of the DatePicker.</p> <p>EDIT 5 minutes later : this actually comes from the default width of my Button template. If I increase it, it is fine. So I guess the bounty comes to Mamta Dalal, many thanks. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload