Hide vertical scroll in composer page

This commit is contained in:
Burak Kaan Köse
2024-05-21 23:24:06 +02:00
parent bbaa5f9fa8
commit 0c504b52e4

View File

@@ -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,7 +604,8 @@
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
x:Name="AttachmentsListView"
Grid.Row="6" Grid.Row="6"
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}"
@@ -619,7 +621,7 @@
</ListView.ItemsPanel> </ListView.ItemsPanel>
</ListView> </ListView>
<!--Attachments--> <!-- Attachments -->
</Grid> </Grid>