locked
Icons on ToolBar RRS feed

  • Question

  • User336727 posted

    I have a ToolBar with several icons that are 20 PX square. I have added all the additional icons for each platform for different DPI. The ToolBar renders properly on IOS and Android, but on UWP (both Windows 10 and Windows Mobile) the icons are just black squares. What size should ToolBarItem icons be? Any idea why UWP is not rendering the icons properly?

    Friday, September 1, 2017 3:28 PM

Answers

  • User89714 posted

    @DavidHornbaker - For Windows platforms, make sure your icons are .png files with the background transparent. In the VS image editor, they want to show as 32bpp BGRA (pretty sure that should say RGBA, but it's showing as BGRA in my editor at the moment - possibly as I was just testing some RTL input stuff?).

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, September 1, 2017 4:47 PM

All replies

  • User89714 posted

    @DavidHornbaker - For Windows platforms, make sure your icons are .png files with the background transparent. In the VS image editor, they want to show as 32bpp BGRA (pretty sure that should say RGBA, but it's showing as BGRA in my editor at the moment - possibly as I was just testing some RTL input stuff?).

    • Marked as answer by Anonymous Thursday, June 3, 2021 12:00 AM
    Friday, September 1, 2017 4:47 PM
  • User336727 posted

    Yep, the icons did nit have transparent background

    Saturday, September 2, 2017 2:16 AM