Page 1 of 1

Changing icon size in Oxygen Editor 22.0

Posted: Mon Mar 23, 2020 7:17 pm
by psbentley
Hi there,

I recently upgraded to Oxygen Editor v22.0 and for some reason the icon size has changed to be quite large. When I initially installed this version, they were fine, but now they're distractingly large compared to my previous version of Author 19. Any idea how to revert these? I've tried looking around in the Appearance menu and I haven't seen anything helpful. I've also tried resetting the settings back to factory, but no luck there either.

Thanks!
Peyton

Re: Changing icon size in Oxygen Editor 22.0

Posted: Tue Mar 24, 2020 6:04 pm
by adrian
Hello,

I'm guessing you have scaling (size of apps and text) set to 150% or more in the Windows Display settings (Settings > System > Display, Scale and layout).
What screen resolution and what scaling setting are you currently using?

Oxygen has only two sets of resources (icons), one for 100% (1x) and one for 200% (2x) scaling (twice as big). In v20.1 and older for any system scaling value lower than 200% Oxygen picked the smaller resources, so even though you had 150% or 175% (or even 199%) scaling in Windows, Oxygen still used the 100% (1x) resources. Only the text was adjusted according to the Windows scaling. Many users in this situation complained that icons are too small and toolbar buttons are difficult to click, so starting with v21.0 we decided to use the 200% (2x) resources when system scaling is 150% or higher.

So, if you are in this range of 150%-199% scaling, switching from Oxygen v20.1 or older to v21 will seem that everything is twice as big in the new version. For 150% I'm guessing there may be some situations (e.g. tree views) where icons overlap a little since they are a bit larger than their placeholders.

While it's not user friendly, you can still switch the icons to be 100% (1x)
, like in v20.1 or older, if the current setup bothers you. Create a file named 'custom_commons.vmoptions' with the following argument

Code: Select all

-Dcom.oxygenxml.hidpi.icon.scaling=1
Copy/Move this file to the Oxygen installation folder (you will need admin rights to allow write access to the Oxygen folder from "Program Files").

Please let me know if you need additional assistance.

Regards,
Adrian

Re: Changing icon size in Oxygen Editor 22.0

Posted: Thu Oct 29, 2020 11:34 pm
by AngelaSimonelli
Hi Adrian,
Thanks for your recommendation!

I created a text file named "custom_common.vmoptions" and it contains two lines of text:

CODE: SELECT ALL
-Dcom.oxygenxml.hidpi.icon.scaling=1

I saved this to the SDL Oxygen folder on my machine (C:\Program Files (x86)\SDL Oxygen\custom_commons.vmoptions.txt).

Is this correct? It doesn't seem to have any impact on icon size in the Oxygen 21 taskbar.

Thanks in advance,
Angela

Re: Changing icon size in Oxygen Editor 22.0

Posted: Fri Oct 30, 2020 9:57 am
by adrian
Hi,

Note that the property "com.oxygenxml.hidpi.icon.scaling" is only available for Oxygen v20 and later.
The file "custom_commons.vmoptions" only works with the Oxygen launchers that already have a corresponding .vmoptions file.
e.g.
oxygen22.1.exe and oxygen22.1.vmoptions
I created a text file named "custom_common.vmoptions" and it contains two lines of text:
CODE: SELECT ALL
-Dcom.oxygenxml.hidpi.icon.scaling=1
You seem to have also copied the forum placeholder for code ("CODE: SELECT ALL"). That is not part of the argument.
It should be a single line with -Dcom.oxygenxml.hidpi.icon.scaling=1
I saved this to the SDL Oxygen folder on my machine (C:\Program Files (x86)\SDL Oxygen\custom_commons.vmoptions.txt).
Filename is definitely incorrect (it shouldn't have .txt as the file extension), but SDL probably has different launchers for Oxygen that do not take this .vmoptions file into account. You should contact SDL about where you can add the parameter. If it's a bat file that starts Oxygen, you can add it immediately after the java command. Note that this is usually inline with the rest of the arguments, not on a different line.
e.g. for oxygen.bat add it on the last line immediately after %OXYGEN_JAVA%

Code: Select all

%OXYGEN_JAVA% -Dcom.oxygenxml.hidpi.icon.scaling=1 ...
Regards,
Adrian