Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix marigin of scroll bar #105

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/MicaApps.Mail.UWP/MicaApps.Mail.UWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,15 @@
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Use64BitCompiler>true</Use64BitCompiler>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>True</AppxAutoIncrementPackageRevision>
<AppxSymbolPackageEnabled>False</AppxSymbolPackageEnabled>
<GenerateTestArtifacts>False</GenerateTestArtifacts>
<AppxBundle>Always</AppxBundle>
<AppxBundlePlatforms>x64|arm64</AppxBundlePlatforms>
<GenerateTemporaryStoreCertificate>True</GenerateTemporaryStoreCertificate>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -243,6 +252,7 @@
<Content Include="Assets\Wide310x150Logo.scale-150.png" />
<Content Include="Assets\Wide310x150Logo.scale-400.png" />
<Content Include="Assets\sql.sql" />
<None Include="Package.StoreAssociation.xml" />
<Content Include="Properties\Default.rd.xml" />
<Content Include="Assets\LockScreenLogo.scale-200.png" />
<Content Include="Assets\SplashScreen.scale-200.png" />
Expand Down
6 changes: 3 additions & 3 deletions src/MicaApps.Mail.UWP/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

<Identity
Name="49014Shompinice.42317376306EA"
Publisher="CN=DiskTools Team"
Version="0.1.0.0" />
Publisher="CN=8136FD48-8D5A-4FB2-8DF9-A606C867768F"
Version="0.1.27.0" />

<mp:PhoneIdentity PhoneProductId="8c0ed1cb-89ff-4e9e-939c-54eac45e83f3" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
<mp:PhoneIdentity PhoneProductId="2f4d7ae9-d7e1-4642-aa3d-35dfa890437d" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>

<Properties>
<DisplayName>电邮</DisplayName>
Expand Down
4 changes: 2 additions & 2 deletions src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ScrollViewer Padding="50"
<ScrollViewer Padding="50 50 50 0"
VerticalScrollMode="Auto"
HorizontalScrollMode="Disabled">
<StackPanel>
Expand Down Expand Up @@ -137,7 +137,7 @@
</ListView>
</Grid>
</Grid>
<Border Height="2"
<Border Height="0"
Margin="0,20"
HorizontalAlignment="Stretch"
Background="Gray" />
Expand Down
5 changes: 5 additions & 0 deletions src/MicaApps.Mail.UWP/Pages/MailFolderDetailsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,13 @@ private async Task InitializeDataFromMailFolderAsync(MailFolderData MailFolder)

try
{
// var contacts = await CurrentService.GetContactsAsync();
//App.Services.GetService<ICacheService>()!.AddOrReplaceCache<IReadOnlyList<ContactModel>>(contacts);

DetailsView.ItemsSource = PreviewSource = new MailIncrementalLoadingObservableCollection((Instance, RequestCount, Token) =>
{


LoadMailMessageOption Options = new LoadMailMessageOption
{
FolderId = MailFolder.Id,
Expand Down
Loading