Closed Xarkam closed 1 year ago
Please supply a repo with this code so we can test and find out what is happening.
Please supply a repo with this code so we can test and find out what is happening.
Ok, found it...
In your .csproj
you have <FluentIconSizes>10,12,16,20,24,48</FluentIconSizes>
As you can see, 32 is not in there. Guess what size you are using in the <SurveyPrompt>
...
okay, but for https://github.com/Xarkam/Blazorwasm_FluentUI/blob/main/Blazor-FluentUI/Shared/SurveyPrompt.razor#L4 ? The size is correct, but it says it is not found. I tested with sizes 48,16,12,10. It tells me that it can't find any.
Correct, AppListDetail is available only in sizes 20 and 24 apparently!
In general, you can use https://brave-cliff-0c0c93310.azurestaticapps.net/Icon to look up icons and then use the Size dropdown in the Search section to see if a certain size is available.
I'll see if I can make that information more easily available.
Unfortunately, I used the tool, but it doesn't seem to work properly. Here a simple search
And after I changed color
Works for me... (notice I searched for AppsListDetail)
Here a example demonstrate the tool not work perfectly. We need to validate twice for second search (the search avec S added)
The simplest would be to list all the icons of the same size in the form of a page (why not in a paginated table).
Because here, if we don't have the exact name of the icon, it won't be found. Or, have a more dynamic search like on https://fluenticons.co/
Currently, I would therefore have to go to https://fluenticons.co/ to search for the name of an icon and then return to the components site to search for the icon and check in what size it exists.
Ok, will investigate this. Closing this issue as the search issue is a new one. Can you create a new issue for this (with the fancy gif)? I didn't know about https://fluenticons.co yet. Thanks for that link!
I use Microsoft.Fast.Components.FluentUI 2.1.4 but I ave problem with icons. I recieve this into debug console:
Before opening this issue, I read issue #346 and read the links. I adapted the .csproj and the program.cs. However, I still have no icons.
.csproj
program.cs
page with icons: SurveyPrompt.razor
My project is blazor webassembly type and I followed the readme for the installation.