Hide vertical scroll in composer page
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
</DataTemplate>
|
</DataTemplate>
|
||||||
|
|
||||||
<!-- 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="ComposerFileAttachmentTemplate" x:DataType="data:MailAttachmentViewModel">
|
<DataTemplate x:Key="ComposerFileAttachmentTemplate" x:DataType="data:MailAttachmentViewModel">
|
||||||
<Grid
|
<Grid
|
||||||
Height="50"
|
Height="50"
|
||||||
@@ -179,6 +179,7 @@
|
|||||||
Margin="0,6"
|
Margin="0,6"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
VerticalScrollMode="Disabled"
|
VerticalScrollMode="Disabled"
|
||||||
|
VerticalScrollBarVisibility="Hidden"
|
||||||
HorizontalScrollBarVisibility="Hidden"
|
HorizontalScrollBarVisibility="Hidden"
|
||||||
HorizontalScrollMode="Enabled">
|
HorizontalScrollMode="Enabled">
|
||||||
<Grid Margin="16,0,16,20" Padding="8,0">
|
<Grid Margin="16,0,16,20" Padding="8,0">
|
||||||
@@ -603,15 +604,16 @@
|
|||||||
Text="{x:Bind ViewModel.Subject, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
Text="{x:Bind ViewModel.Subject, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
||||||
|
|
||||||
<!-- Attachments -->
|
<!-- Attachments -->
|
||||||
<ListView x:Name="AttachmentsListView"
|
<ListView
|
||||||
Grid.Row="6"
|
x:Name="AttachmentsListView"
|
||||||
Grid.ColumnSpan="2"
|
Grid.Row="6"
|
||||||
x:Load="{x:Bind helpers:XamlHelpers.CountToBooleanConverter(ViewModel.IncludedAttachments.Count), Mode=OneWay}"
|
Grid.ColumnSpan="2"
|
||||||
IsItemClickEnabled="True"
|
x:Load="{x:Bind helpers:XamlHelpers.CountToBooleanConverter(ViewModel.IncludedAttachments.Count), Mode=OneWay}"
|
||||||
ItemTemplate="{StaticResource ComposerFileAttachmentTemplate}"
|
IsItemClickEnabled="True"
|
||||||
ItemsSource="{x:Bind ViewModel.IncludedAttachments, Mode=OneWay}"
|
ItemTemplate="{StaticResource ComposerFileAttachmentTemplate}"
|
||||||
ItemClick="AttachmentClicked"
|
ItemsSource="{x:Bind ViewModel.IncludedAttachments, Mode=OneWay}"
|
||||||
SelectionMode="None">
|
ItemClick="AttachmentClicked"
|
||||||
|
SelectionMode="None">
|
||||||
<ListView.ItemsPanel>
|
<ListView.ItemsPanel>
|
||||||
<ItemsPanelTemplate>
|
<ItemsPanelTemplate>
|
||||||
<controls1:WrapPanel Orientation="Horizontal" />
|
<controls1:WrapPanel Orientation="Horizontal" />
|
||||||
@@ -619,8 +621,8 @@
|
|||||||
</ListView.ItemsPanel>
|
</ListView.ItemsPanel>
|
||||||
</ListView>
|
</ListView>
|
||||||
|
|
||||||
<!--Attachments-->
|
<!-- Attachments -->
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
|
|
||||||
<Grid
|
<Grid
|
||||||
|
|||||||
Reference in New Issue
Block a user