Skip to content

Commit

Permalink
减小图片尺寸以减少内存占用,原来显示这两张图要花100多M
Browse files Browse the repository at this point in the history
  • Loading branch information
imba-tjd committed Nov 4, 2021
1 parent 0bdd1d8 commit fdebba1
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MisakaTranslator-WPF/GuidePages/CompletationPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<RowDefinition Height="25*"></RowDefinition>
<RowDefinition Height="30*"></RowDefinition>
</Grid.RowDefinitions>
<Image Grid.Row="0" Margin="0" Source="Completation.png"></Image>
<Image Grid.Row="0" Margin="0" Source="Completation_small.png"></Image>

<TextBlock Grid.Row="1" Text="{StaticResource CompletationPage_Hint}" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="15"/>

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions MisakaTranslator-WPF/MisakaTranslator-WPF.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,7 @@
<Generator>MSBuild:Compile</Generator>
</Page>
<Resource Include="GuidePages\Completation.png" />
<Resource Include="GuidePages\Completation_small.png" />
<Page Include="lang\en-US.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
Expand Down Expand Up @@ -482,6 +483,7 @@
<ItemGroup>
<Resource Include="logo.ico" />
<Resource Include="SettingsPages\AboutV2.jpg" />
<Resource Include="SettingsPages\AboutV2_small.jpg" />
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
Expand Down
2 changes: 1 addition & 1 deletion MisakaTranslator-WPF/SettingsPages/AboutPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<RowDefinition Height="5*" />
<RowDefinition Height="1*" />
</Grid.RowDefinitions>
<Image Grid.Row="0" Source="AboutV2.jpg" Margin="20"></Image>
<Image Grid.Row="0" Source="AboutV2_small.jpg" Margin="20"></Image>
<Button Grid.Row="1" Content="{StaticResource AboutPage_BtnHelp}" HorizontalAlignment="Left" Margin="20" Click="BtnHelp_Click"></Button>
<Button Grid.Row="1" Content="{StaticResource AboutPage_BtnGithub}" HorizontalAlignment="Right" Margin="20" Click="BtnGithub_Click"></Button>
</Grid>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fdebba1

Please sign in to comment.