Open-Systems-Pharmacology / PK-Sim

PK-Sim® is a comprehensive software tool for whole-body physiologically based pharmacokinetic modeling
Other
107 stars 51 forks source link

Strange UI behaviour #1224

Open Yuri05 opened 5 years ago

Yuri05 commented 5 years ago

PK-Sim 7.5.0.70, Windows 10, Windows text size is set to 150%

The whole PK-Sim UI is resized after click on "Export to Matlab..." (even before the dialog is closed via Cancel), especially all the text captions becomes smaller (except for the tree node which is currently selected)

Checked it with 7.4: works fine, no strange resizing.

grafik

Also the display of texts in 150% font size does not look good in 7.5 S. below: left half 7.4, right half 7.5 ( grafik

Yuri05 commented 5 years ago

P.S. UI Settings (Icon sizes, Skin) are the same in 7.4 and 7.5

msevestre commented 5 years ago

7.4 did not work properly on high res monitor. Here is what was happening when starting PK-Sim on a high res monitor

image

or image

We have updated devexpress component and I have removed this one line here (that was not in MoBi and creating a lot of trouble see above) https://github.com/Open-Systems-Pharmacology/PK-Sim/blob/develop/src/PKSim/Program.cs#L26

I am not sure what needs to be done for 150% font. I would suggest that you contact DevExpress support with some screenshots and ask what we should do.

Maybe we can play with the other settings? such as this one https://github.com/Open-Systems-Pharmacology/PK-Sim/blob/develop/src/PKSim/Program.cs#L24

msevestre commented 5 years ago

https://documentation.devexpress.com/WindowsForms/116666/Common-Features/High-DPI-Support

Yuri05 commented 5 years ago

We have updated devexpress component and I have removed this one line here (that was not in MoBi and creating a lot of trouble see above)

Indeed, both MoBi 7.4 and 7.5 look shitty with 150% fonts.