diff --git a/doc/using-uno-resizetizer.md b/doc/using-uno-resizetizer.md index b0b7c33..68f5b64 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: -* 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 - + ``` [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?)_.