Displaying contact picture for rendering page and small adjustments for addresses UI.

This commit is contained in:
Burak Kaan Köse
2024-08-23 02:23:52 +02:00
parent 9ed297a49d
commit ef4689619e
2 changed files with 9 additions and 2 deletions

View File

@@ -31,7 +31,8 @@
<DataTemplate x:Key="InternetAddressTemplate" x:DataType="entities:AccountContact">
<HyperlinkButton
Padding="2"
Padding="4,2"
Margin="-2,-2"
Command="{Binding ElementName=root, Path=ViewModel.CopyClipboardCommand}"
CommandParameter="{x:Bind Address}"
Content="{x:Bind DisplayName}" />
@@ -228,6 +229,7 @@
Width="36"
Height="36"
FontSize="16"
SenderContactPicture="{x:Bind ViewModel.ContactPicture, Mode=OneWay}"
FromAddress="{x:Bind ViewModel.FromAddress, Mode=OneWay}"
FromName="{x:Bind ViewModel.FromName, Mode=OneWay}" />
@@ -237,7 +239,8 @@
VerticalAlignment="Center">
<StackPanel Spacing="1">
<HyperlinkButton
Padding="-2,0"
Padding="4,2"
Margin="-6,-2"
Command="{Binding ElementName=root, Path=ViewModel.CopyClipboardCommand}"
CommandParameter="{x:Bind ViewModel.FromAddress, Mode=OneWay}"
FontWeight="SemiBold">