To make X2's toolbars, menu bars, and text editor scale correctly on my 4k TV I did the following;
X2 desktop shortcut right click > Properties > Compatibility > Change settings for all users > Change High DPI settings > High DPI scaling override > change from Application > System (enhanced). Apply ok etc. open X2 and scaling is correct every where, except,
If I open a video file from within X2 it opens VLC but only plays in a upper left quadrant of VLC's window, it doesn't maximize.
If I close X2 and open the same video from within VLC it opens to correct size.
If I revert the desktop icons DPI scaling back to application and I open a video file from within X2 it opens correctly full screen. but ofcourse X2 UI scaling with DPI scaling properties set to Application makes all the UI icons tiny, not good.
Just thought i'd bring this to your attention, OCD prevails
P.S. the above scaling fix works for any application's menu which doesn't scale correctly, my Elite Dangerous control panel didn't scale correctly and the above fixed that.

