Temporary Solution of the UI for 4K Displays

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
dhigby
Posts: 2
Joined: 31 Aug 2020 18:36

Re: Temporary Solution of the UI for 4K Displays

Post by dhigby »

Thanks. My laptop monitor is 4k and my external is not. This solution resolved the issues when moving windows back and forth between monitors. Either it was too small to read on my 4k, or incredibly large on my external. After applying the shortcut high DPI fix (set to system, enhanced) it works great.

admin
Site Admin
Posts: 65043
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Temporary Solution of the UI for 4K Displays

Post by admin »

dhigby wrote: 11 Nov 2020 17:34 Thanks. My laptop monitor is 4k and my external is not. This solution resolved the issues when moving windows back and forth between monitors. Either it was too small to read on my 4k, or incredibly large on my external. After applying the shortcut high DPI fix (set to system, enhanced) it works great.
That's great to hear. :tup:

Thank you for the tip, amirvf! :tup:

kbleft
Posts: 18
Joined: 09 Feb 2018 07:43

Re: Temporary Solution of the UI for 4K Displays

Post by kbleft »

admin wrote: 11 Nov 2020 12:16 OK, here we go.
Toolbar-96x96.png

For demo purposes I defined two patch images, each 400x400 pixels, one JPG and one PNG (with transparency), and named them in a way so that they are used by particular toolbar buttons: I prefixed the button keys "dice." and "sync.". And I stretched the toolbar by factor 4 using Ctrl+Shift+Wheel, and you can clearly see the blurry ugliness of the native buttons and the beautiful sharpness of the patched buttons.

I placed those patch images in a subfolder of the application data folder (which in this instance happens to have the name "appdata_screenshots"; normally it's just "appdata"). That subfolder I called "Patch".

Now the last thing to do to make it work is to tweak this INI key and set it to "Patch" (or to whatever you called that subfolder):
PatchImagesPath=Patch
(BTW, it does not have to be a subfolder of the application data folder, you can also use a full path pointing to any location.)
This is an excellent feature! It is going to fix so many problems I'm having with toolbar icons my 4K display.

Is it possible to patch the icon for the separator? I can't find the image key for it.

jupe
Posts: 3292
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Temporary Solution of the UI for 4K Displays

Post by jupe »

No you can't patch the separator, but the Dev has already confirmed he will be making it bolder soon for 4K, alternatively you can make a custom toolbar button into a "separator", which can have a custom icon, it will just be wider than a normal separator, and have a mouseover effect.

kbleft
Posts: 18
Joined: 09 Feb 2018 07:43

Re: Temporary Solution of the UI for 4K Displays

Post by kbleft »

Thanks, Jupe. There is so much that can be configured and customized in XYplorer, I assumed I was missing something obvious.

I like your suggestion. I'll drop in a few custom buttons with dark separator-style icons (and give them harmless functions in case I smash them).

amirvf
Posts: 133
Joined: 18 Oct 2020 00:46

Re: Temporary Solution of the UI for 4K Displays

Post by amirvf »

WirlyWirly wrote: 10 Nov 2020 20:28 @amirvf

I don't know what the process would look like to make these icons larger, but if you need help I'll pitch in. I'm looking to upgrade to a 4k screen soon so this will also be affecting me eventually.

I've got experience with Photoshop if that matters.
Thanks. The icons should be originally created in higher resolutions. At the moment the UI accepts icons with higher resolutions. I have already created high resolutions icons as replacements. I believe there would be an option in the future to upload icon packs to the UI. You could also create a custom icon set according to the snapshot provided by admin so whenever that option is available, it could be easily uploaded as an icon pack in the UI. At the moment icons could only be manually integrated to the UI.

Post Reply