Is there a way to adjust the icon size in the Eclipse workspace? - eclipse

I am running an Eclipse IDE via Parallels on a Retina MacBook Pro.
Parallels automatically configures the font sizes in Windows to deal with the Retina display resolution. So all that looks good.
The problem is that the icons in the workspace are still the same size and as such render so tiny it is almost impossible to see them.
I would like to be able to tell Eclipse to resize the icons (probably by x2 or x4). I don't care if they look blocky, only that I can see them.
Is such a thing possible?
To pre-empt the obvious answers:
I need to use the IDE in windows (due to JNI libraries).
Also restarting straight into Bootcamp won't solve the issue either unless I lower the resolution. Which defeats the purpose of the extra screen real estate.

Referring to the User Interface Guidelines of Eclipse 3.x this is not possible at the moment. The icons (Toolbar for example) have a maximal size of 16px.
The majority of Eclipse style icons are designed within an area of 16 x 16 pixels. That is the final cut size of the image.
The icons can be found here:
<eclipse-root>/plugins/org.eclipse.ui_*.jar/icons/full

Related

Flutter web renders elements on the screen too large

Flutter web seems to render the elements on the screen way too large. Everything, from text, to Containers, to form fields, is massive. It is like everything has been zoomed in. It doesn't look good. I thought setting the visual density of the theme to VisualDensity.compact or VisualDensity.adaptivePlatformDensity would fix it, but it doesn't seem to. Running the app on a very large iPad Pro does not enlarge the elements. Why might this enlargement happen? I work on another Flutter app that is not enlarged on web and am unsure of what the key difference is that is causing the different rendering behaviour.
This ended up being due to setting my mac display to "Scaled" with "larger text" in system preferences. It seemed to affect the web version and not the mobile simulators; I guess because the simulators are not under the mac display settings; they are their own device.
The fix was to set it to "Default for display":

Font size for different size and dpi devices in smartface

I am developing an mobile app which should support for all type of device sizes and dpi's.
Is there any short-way or formula that i can implement for font sizes basing on dpi value of the device?
Can any one suggest whats the best way to implement font sizes for all my controls in Smartface App Studio to support all type of devices!
You should check this link about images : http://www.smartface.io/developer/guides/project/anatomy-project/#images
There is no way to make it look good for all devices by using only one folder. Because different devices have different resolutions, icons should be added to the related folder.
For iOS, there is only one folder. You should use original icons, lets say it is myicon.png, also you should use 2 times the original icon(make it 2 times larger) and add it too into the same folder and name it as myicon#2x.png.
That is all for iOS.
But for Android, there are more different resolutions. You should find the correct folder for your device from the link. I can simply suggest you to keep in mind that, your original icon should be placed under mdpi folder, you should use 1.5 times original in hdpi folder and you should use 2 times the original icon for xhdpi folder.

Emacs on Windows 8.1 with font scaling for 4K monitor

I'm using Emacs on a Windows 8.1 computer with a 4K resolution monitor. I scaled up all the Windows fonts to 200%, since otherwise it is difficult to read. In most applications, the scaled fonts look great, but in Emacs they look fuzzy and pixelated. If I set the Windows font scaling to 100% and choose a larger font for Emacs, then the Emacs font looks great, but then it is difficult to read text in other applications. Is there any way to set the Windows font scaling to 200% and also have a font in Emacs that looks good?
Right click on the emacs.exe binary, go to Properties > Compatibility. Then check "Disable display scaling on high DPI settings". This disables the automatic scaling performed by Windows 8.1, like the 100% setting that you attempted, but only for Emacs. You will then have to configure Emacs for larger fonts as before, and everything should look okay.
The disadvantage of this method is that Emacs will not rescale properly like other applications when switching monitors or connecting remotely. Perhaps a future version of Emacs will be resolution-aware, resolving the problem.

When can the Native resolution not be actual resolution?

I was writing some programs that were sensitive to screen size, and for the life of me I cannot figure out how this is possible. The display settings in the nvidia and windows control panel are set to 1920x1200 (native), while GeForce experience and www.whatismyscreenresolution.com both report 1280x800. It is like the actual resolution differs from that which is set. How is this possible?
OK after a lot of digging, apparently the resolution is changed behind the scenes if you have selected "Larger" under Right Click Desktop --> Personalize --> Display. I set this to "Smaller (default)" and everything is reporting correctly now. I'm not sure, but somehow Windows 7 must change the resolution by a factor of 1.5 behind the scenes if you choose the 150% option.

margins for ios app icons

I have an icon for my iOS app that seems to be missing some margins that other icons have. This creates an irregular, unwanted border around the icon when it is selected in Springboard (as the darkened selection overlay is smaller than the actual icon), as visible in this image:
When another app is selected (Safari, for example), there is no extra border:
I've tried this out with "Prerendered" setting (in the Xcode Target Summary page) on and off with no visible difference. I've also noticed other apps icons that have this issue. When I look at the icon for an app that doesn't have this issue, I do notice margins of a few pixels on every side.
I couldn't find any values listed online for the margins of different icon sizes. Does someone happen to know the values for the margins, or a program that can create the images with the correct margins? Or is there something else I may be missing?
(Note that the icons are not parallel due to the wiggling icons do in the app-deletion mode of Springboard. The 72#2x visible on the icon is--I assume--a separate issue.)
UPDATE: I myself have verified this on both a iPod Touch 4 (iOS 5) and iPhone 4 (iOS 6). (If it matters, both devices are jailbroken.) The project contains the following icons: Icon (57x57), Icon#2x (114x114), Icon-72 (72x72) and Icon-72#2x (144x144).
UPDATE 2: Since I'm developing an app for Cydia, the automatic icon rounding done by Springboard for regular App Store apps doesn't seem to be a possibility (see comments in #Vojtech Vrbka's answer).
UPDATE 3: Posted my solution to this problem (also removed the linked question in the last paragraph before the updates).
If you are making round corners manually, don't. Use square icon and the round corners will be added automatically.
Here is list of all sizes, that you should include in your app: Custom Icon and Image Creation Guidelines
It turns out the main problem I had was not knowing what margins to use, but that my app did not get the automatic rounded corners (and margins) from Springboard which regularly installed apps would get (as my app is for Cydia, meaning it's basically a System App, and I was installing it manually to /Applications).
I found a similar question here, which had two useful answers, one which provides a potential way to prepare the icons manually, and another which names a useful app in Cydia which can create the icons correctly: http://cydia.saurik.com/package/org.thebigboss.iconmaker (most likely using the method from the other answer).