question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Replace small jagged icons of Xenko editor with Visual Studio responsive icons

See original GitHub issue

Currently Xenko uses Small png icons in the editor that are jagged in higher resolutions. Besides of that, for a flat development environment like Xenko Editor, it’s better to use flat icons.

I suggest to use Microsoft Visual Studio Image Library 2017, because those images have both Svg and Xaml format that is ready for Xaml UI of Xenko editor, scalable and responsive to the screen. And also, these icons make developer feel like it’s homeland as it is Visual Studio icons.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:8
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
avesturacommented, Aug 5, 2018

I have made some changes based on this issue, it’s not complete yet and some icons are not replaced.

What I have done:

  • Created a vector xaml for Xenko logo
  • Replaced BitmapImage resources to DrawingImage using Visual Studio image gallery in image dictionaries of project.
  • For icons that there were not any icon in Visual Studio images gallery, I’ve created a new one with merging geometric paths of two or more icons (for example, merged Application Icon + Xenko Vector Logo + Plus to create Xenko New Solution icon

Windows Chrome

Xenko logo, Window Close, Maximize, Restore and Minimize replaced with glyph version. Height of chrome is now a little smaller (like Visual Studio). Xenko and Window chrome are not pixelate anymore.

Before:

Xenko Window Chrome Before

After:

Xenko Window Chrome After

Project select template browse icon

Before:

Xenko Browse Before

After:

Xenko Browse After

Scene Items

Before:

Xenko Scene Items Before

After:

Xenko Scene Items After

Solution explorer

Before:

Xenko Window Solution Explorer Before

After:

Xenko Window Solution Explorer After

Property Grid

Before:

Xenko PG Before

After:

Xenko PG After

Scene editor icons

As you see, some icons are not changed.

Before:

Xenko SE Before

After:

Xenko SE After

Menu icons

Yes, I know that visual studio icon is too big. I just changed BitmapImage resources to DrawingImage, so some icons need to change the width or height explicitly.

Before:

Xenko Menu Before

After:

Xenko Menu After

2reactions
dfkeenancommented, Aug 4, 2018

If anyone cares, Visual Studio doesn’t just use the vector graphic formats for displaying icons. It has a special image service that chooses the best image for the DPI, i.e. for standard DPI it uses the 16x16 PNGs. That’s why there is a 16x16, 32x32, 48x48 etc. PNGs as well as the XAML/SVG files.

https://docs.microsoft.com/en-gb/visualstudio/extensibility/image-service-and-catalog https://docs.microsoft.com/en-gb/visualstudio/extensibility/ux-guidelines/images-and-icons-for-visual-studio

You will notice the colors for a dark theme are not quite right in yours. I think the image service also handles changing colors in the icons for themes. But I do remember seeing an IMultiValueConverter that changes the colors for themes and disabled state. I am using the VS Image library (2015) and implemented a similar converter. Though I am only using the 16x16 PNGs.

Visual Studio: image

Mine without theme color change applied: image

Mine with theme color change applied: image

See my SO answer for some details: https://stackoverflow.com/a/37501135/6394883

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replace small jagged icons of Xenko editor with Visual ...
Currently Xenko uses Small png icons in the editor that are jagged in higher resolutions. Besides of that, for a flat development ...
Read more >
Images and Icons for Visual Studio
Icons. Small images that appear in commands, hierarchies, templates, and so on. The default icon size used in Visual Studio is a 16x16...
Read more >
scaling and blurry icons issues with messagebox and ...
The message box is really bad but I have toolbars with blurry icons too and have seen post from feburary that said it...
Read more >
Any fix to blurry fontello icons? It looks fine in Android, not ...
Any fix to blurry fontello icons? It looks fine in Android, not in windows. r ...
Read more >
How to add icons to your website using font awesome VS ...
I'm going to line it up nicely, hit 'Save', and we're going to see how it works. There you are there, here's my...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found