In Windows Vista and Windows 7, my column's labels are truncated when they look just fine in XP.
Here is the grid in XP. Note that the Dose, Unite and Lait(h) columns are displayed correctly.
Here is the exact same grid, on a Vista PC:
What can I do about that?
Just to reduce the variable count, I created a simple test project. Same result:
XP:
Vista:
Is it a xamDataGrid limitation?
Hello,
This could be because of the windows theme (for example Aero). What you can do is create a padding for the content of the LabelPresenter, like this :
<Style TargetType="{x:Type igDP:LabelPresenter}">
<Setter Property="ContentTemplate">
<Setter.Value>
<DataTemplate>
<ContentPresenter Content="{Binding}" Margin="5" />
</DataTemplate>
</Setter.Value>
</Setter>
</Style>