XAML fixes

This commit is contained in:
2022-01-24 11:54:14 +01:00
parent 896b58f542
commit 11e5a3fd61
2 changed files with 6 additions and 3 deletions

View File

@@ -69,7 +69,7 @@
Margin="5,0" Margin="5,0"
VerticalAlignment="Center" VerticalAlignment="Center"
Style="{StaticResource NormalText}" Style="{StaticResource NormalText}"
Text="{Binding Name}" /> Text="{Binding FullName}" />
<TextBlock <TextBlock
Grid.Column="2" Grid.Column="2"
VerticalAlignment="Center" VerticalAlignment="Center"

View File

@@ -1,4 +1,4 @@
<ResourceDictionary <ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:converters="using:FileTime.Uno.Converters" xmlns:converters="using:FileTime.Uno.Converters"
@@ -87,7 +87,10 @@
<Setter Property="Template"> <Setter Property="Template">
<Setter.Value> <Setter.Value>
<ControlTemplate> <ControlTemplate>
<ContentPresenter HorizontalAlignment="Stretch" /> <ContentPresenter
Content="{TemplateBinding}"
ContentTemplate="{TemplateBinding ContentTemplate}"
HorizontalAlignment="Stretch" />
</ControlTemplate> </ControlTemplate>
</Setter.Value> </Setter.Value>
</Setter> </Setter>