Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] High-DPI icons

Hi! Here are some extra instructions if you need to test this.


In Ubuntu, there's a scaling setting in the "Screen Resolution" settings (at least in Ubuntu 16.04). You can also launch with an environment variable to control this more manually. This seems to be a more reliable way on Ubuntu 14.04. For example:

GDK_DPI_SCALE=2.0 ./eclipse


On Windows 10, it's in the Display settings.

On Mac, it's 2x by default on Retina Macs and can be changed in the "Displays" system preferences.


Marc-André


From: tracecompass-dev-bounces@xxxxxxxxxxx <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Marc-André Laperle <marc-andre.laperle@xxxxxxxxxxxx>
Sent: Wednesday, September 21, 2016 4:50:40 PM
To: tracecompass-dev@xxxxxxxxxxx
Subject: [tracecompass-dev] High-DPI icons
 

Hello Trace Compass contributors!


I would just like to point out that if you add icons to Trace Compass, if it's not too much trouble, you should try to add the 2 versions for each icon in order to haver nicer High DPI monitor support. One should be higher resolution (foo@xxxxxx, typically 32x32 for Project Explorer, etc) and the other one is half the resolution (foo.png, 16x16). Of course, if you just take a tiny one and stretch it, there is not much point as the platform already does that kind of basic scaling but it definitely will look worse than if you make a nice 32x32 icon as the source.


More info here:

https://www.eclipse.org/eclipse/news/4.6/platform_isv.php#high-dpi-icons


Marc-Andre

Back to the top