Icon scaling in Desktop
Eduardo Gomez Romero
625
Reputation points
So, I have my custom icon for my app in my phone
METROWIND
But when I see it on desktop is tiny
and I want to see it like this
this is my csprog file
<ItemGroup>
<!-- App Icon -->
<MauiIcon Include="Resources\AppIcon\appicon.svg" ForegroundFile="Resources\AppIcon\appiconfg.svg" />
<!-- Images -->
<MauiImage Include="Resources\Images\*" />
<MauiImage Update="Resources\Images\charge_station.png">
<CopyToOutputDirectory></CopyToOutputDirectory>
</MauiImage>
<MauiImage Update="Resources\Images\dotnet_bot.png" Resize="True" BaseSize="300,185">
<CopyToOutputDirectory></CopyToOutputDirectory>
</MauiImage>
<MauiImage Update="Resources\Images\no_image.png">
<CopyToOutputDirectory></CopyToOutputDirectory>
</MauiImage>
<MauiImage Update="Resources\Images\wind_turbine.png">
<CopyToOutputDirectory></CopyToOutputDirectory>
</MauiImage>
<!-- Custom Fonts -->
<MauiFont Include="Resources\Fonts\*" />
<!-- Raw Assets (also remove the "Resources\Raw" prefix) -->
<MauiAsset Include="Resources\Raw\**" LogicalName="%(RecursiveDir)%(Filename)%(Extension)" />
</ItemGroup>
Sign in to answer