widget partially drawn off-screen
rtwfroody opened this issue · 10 comments
Changing that 1080 number to 600 puts the widget somewhere in the middle left of the screen, which is fine for me.
Hhm,
it looks like the coordinates for drawing are less than the screen resolution. Did you run in full screen or windowed? Single monitor? Any VR gear?
Can you pls. delete/rename the xgs.prf run again and send the Log.txt?
Full screen, single monitor, no VR. Attached is the log file you asked for. The xgs.prf was created again exactly as mentioned above, with the same problem.
Log.txt
May be I found a solution. Do you have the plugin "DatarefTool" installed?
Then please look for the datarefs
sim/graphics/view/window_width
and sim/graphics/view/window_height
.
According to the doc this should reflect the coordinate system's width/height rather than the screen dimensions.
Another user had a similar problems
https://forums.x-plane.org/index.php?/files/file/45734-landing-speed-plugin-xgs-reloaded/&page=4&tab=comments#comment-276709
Do you have the 'User Interface Size' above 100% as well?
Thanx a lot. Now I know where the problem comes from. Unfortunately X Plane's widget library is not really aware of scaled UIs and multi monitor setup.
I will think about that but in any case it will be a significant rewrite of my code. So don't expect it too soon.
It was simpler than I thought.
Please try out this beta after deleting/renaming xgs.prf with UI scale 150%.
[xgs-3.32b1.zip](https://github.com/hotbso/xgs/files/3438272/xgs-3.32b1.zip