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"
VerticalAlignment="Center"
Style="{StaticResource NormalText}"
Text="{Binding Name}" />
Text="{Binding FullName}" />
<TextBlock
Grid.Column="2"
VerticalAlignment="Center"

View File

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