From a358873597fb92dcfee9c785ef44b32308e04fb3 Mon Sep 17 00:00:00 2001
From: DDM88 <130507108+DDM88@users.noreply.github.com>
Date: Thu, 8 Aug 2024 11:26:34 -0400
Subject: [PATCH 1/2] docs: Update svg directions
Corrected some samples and added missed information
---
doc/using-uno-resizetizer.md | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/doc/using-uno-resizetizer.md b/doc/using-uno-resizetizer.md
index b0b7c33..f1a9354 100644
--- a/doc/using-uno-resizetizer.md
+++ b/doc/using-uno-resizetizer.md
@@ -198,6 +198,15 @@ Next, some adjustments are needed on `Android`, `Windows (WinUI)`, `WebAssembly`
```
+* In a multi-window environment, you need to call 'SetWindowIcon' for each new window created to show the app icon on the app bar:
+ ```c#
+ using System;
+ using Uno.Resizetizer;
+
+ newwindow = new Window();
+ newwindow.SetWindowIcon();
+ newwindow.Activate();
+ ```
# [**Web Assembly (Wasm)**](#tab/Wasm)
@@ -409,10 +418,11 @@ The Uno Platform allows for flexible image handling through direct SVG use or th
* Your app needs to dynamically change aspects of the image, such as color or size, at runtime.
#### How to Implement:
+* Add a folder Svg and add here your SVG file.
* Set the build action of your SVG file to Content.
* Reference the SVG file directly in the Image control's Source property.
```xml
-
+
```
[Using Svg Images](https://platform.uno/docs/articles/features/svg.html?tabs=singleproject)
@@ -429,7 +439,7 @@ The Uno Platform allows for flexible image handling through direct SVG use or th
* Uno.Resizetizer will generate PNG assets at various scales.
* Reference the generated PNG in the Image control's Source property.
```xml
-
+
```
[Using Uno Resizetizer ](https://platform.uno/docs/articles/external/uno.resizetizer/doc/using-uno-resizetizer.html?tabs=classlib%2CAndroid#unoimage)
@@ -454,4 +464,4 @@ Afterward, try to deploy the app again and your icons should be updated correctl
The Icon Extension generation will not succeed if the project cannot find `/Assets/Icons/icon.svg` and `/Assets/Icons/icon_foreground.svg`. You can find the related GitHub issue [here](https://github.com/unoplatform/uno.resizetizer/issues/289).
-Without these icon assets, a reference error will occur: _CS0234: The type or namespace name 'Resizetizer' does not exist in the namespace 'Uno' (are you missing an assembly reference?)_.
\ No newline at end of file
+Without these icon assets, a reference error will occur: _CS0234: The type or namespace name 'Resizetizer' does not exist in the namespace 'Uno' (are you missing an assembly reference?)_.
From 97b6f2bfb3efde800f53f48e608dc2bf19a38740 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Laban?=
Date: Mon, 18 Nov 2024 08:54:31 -0500
Subject: [PATCH 2/2] docs: Adjust wording
---
doc/using-uno-resizetizer.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/using-uno-resizetizer.md b/doc/using-uno-resizetizer.md
index f1a9354..68f5b64 100644
--- a/doc/using-uno-resizetizer.md
+++ b/doc/using-uno-resizetizer.md
@@ -418,8 +418,8 @@ The Uno Platform allows for flexible image handling through direct SVG use or th
* Your app needs to dynamically change aspects of the image, such as color or size, at runtime.
#### How to Implement:
-* Add a folder Svg and add here your SVG file.
-* Set the build action of your SVG file to Content.
+* Add a folder named `Svg` in `Assets` and add your SVG file.
+* Set the build action of your SVG file to `Content`.
* Reference the SVG file directly in the Image control's Source property.
```xml