Fix formating issues and styles
This commit is contained in:
@@ -60,8 +60,7 @@
|
|||||||
Height="50"
|
Height="50"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
ColumnSpacing="3"
|
ColumnSpacing="3"
|
||||||
Margin="-8 0"
|
Margin="-8,0,0,0">
|
||||||
Padding="0,0,5,0">
|
|
||||||
<Grid.ColumnDefinitions>
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="36" />
|
<ColumnDefinition Width="36" />
|
||||||
<ColumnDefinition Width="*" />
|
<ColumnDefinition Width="*" />
|
||||||
@@ -101,7 +100,6 @@
|
|||||||
|
|
||||||
<SymbolIcon
|
<SymbolIcon
|
||||||
Grid.Column="2"
|
Grid.Column="2"
|
||||||
Margin="0,0,0,0"
|
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Symbol="Cancel"
|
Symbol="Cancel"
|
||||||
Foreground="{StaticResource DeleteBrush}" />
|
Foreground="{StaticResource DeleteBrush}" />
|
||||||
@@ -607,7 +605,6 @@
|
|||||||
<!-- Attachments -->
|
<!-- Attachments -->
|
||||||
<ListView x:Name="AttachmentsListView"
|
<ListView x:Name="AttachmentsListView"
|
||||||
Grid.Row="6"
|
Grid.Row="6"
|
||||||
Padding="5"
|
|
||||||
Grid.ColumnSpan="2"
|
Grid.ColumnSpan="2"
|
||||||
x:Load="{x:Bind helpers:XamlHelpers.CountToBooleanConverter(ViewModel.IncludedAttachments.Count), Mode=OneWay}"
|
x:Load="{x:Bind helpers:XamlHelpers.CountToBooleanConverter(ViewModel.IncludedAttachments.Count), Mode=OneWay}"
|
||||||
IsItemClickEnabled="True"
|
IsItemClickEnabled="True"
|
||||||
|
|||||||
@@ -62,18 +62,17 @@
|
|||||||
<!-- Attachment Template -->
|
<!-- Attachment Template -->
|
||||||
<!-- Margin -8 0 is used to remove the padding from the ListViewItem-->
|
<!-- Margin -8 0 is used to remove the padding from the ListViewItem-->
|
||||||
<DataTemplate x:Key="FileAttachmentTemplate" x:DataType="viewModelData:MailAttachmentViewModel">
|
<DataTemplate x:Key="FileAttachmentTemplate" x:DataType="viewModelData:MailAttachmentViewModel">
|
||||||
<Grid Height="51" RowSpacing="0">
|
<Grid Height="51">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="50" />
|
<RowDefinition Height="50" />
|
||||||
<RowDefinition Height="5" />
|
<RowDefinition Height="*" />
|
||||||
</Grid.RowDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<Grid
|
<Grid
|
||||||
Grid.Row="0"
|
Grid.Row="0"
|
||||||
Height="50"
|
Height="50"
|
||||||
Background="Transparent"
|
Background="Transparent"
|
||||||
ColumnSpacing="3"
|
ColumnSpacing="3"
|
||||||
Padding="0,0,5,0"
|
Margin="-8,0,0,0">
|
||||||
Margin="-8 0">
|
|
||||||
<ToolTipService.ToolTip>
|
<ToolTipService.ToolTip>
|
||||||
<ToolTip Content="{x:Bind FileName}" />
|
<ToolTip Content="{x:Bind FileName}" />
|
||||||
</ToolTipService.ToolTip>
|
</ToolTipService.ToolTip>
|
||||||
@@ -111,7 +110,6 @@
|
|||||||
<!-- Name && Size -->
|
<!-- Name && Size -->
|
||||||
<Grid Grid.Column="1"
|
<Grid Grid.Column="1"
|
||||||
VerticalAlignment="Center"
|
VerticalAlignment="Center"
|
||||||
Padding="0,0,5,0"
|
|
||||||
MaxWidth="200">
|
MaxWidth="200">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
@@ -127,7 +125,6 @@
|
|||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
Margin="0,2,0,0"
|
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
VerticalAlignment="Bottom"
|
VerticalAlignment="Bottom"
|
||||||
FontSize="11"
|
FontSize="11"
|
||||||
@@ -139,7 +136,7 @@
|
|||||||
Grid.Row="1"
|
Grid.Row="1"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
HorizontalAlignment="Stretch"
|
HorizontalAlignment="Stretch"
|
||||||
Margin="0, -5, 0,0"
|
Margin="0,-5,0,0"
|
||||||
Visibility="{x:Bind IsBusy, Mode=OneWay}"
|
Visibility="{x:Bind IsBusy, Mode=OneWay}"
|
||||||
IsIndeterminate="{x:Bind IsBusy, Mode=OneWay}"
|
IsIndeterminate="{x:Bind IsBusy, Mode=OneWay}"
|
||||||
ShowPaused="False"
|
ShowPaused="False"
|
||||||
|
|||||||
Reference in New Issue
Block a user