Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

applet windows #12

Closed
andre-trebushi opened this issue Aug 16, 2020 · 5 comments
Closed

applet windows #12

andre-trebushi opened this issue Aug 16, 2020 · 5 comments

Comments

@andre-trebushi
Copy link

Dear Authors,

Some of the lines for parameters in the applet windows are not displayed correctly on my machine, for example in the screenshot the line "Ruling Density at origin [Lines .... " (please, find the screenshot in the attachment).
Screenshot from 2020-08-16 18-30-29

It seems I cannot rescale the windows. I am using Linux Mint 20.

Thanks in advance,
Andrei

@oasys-kit oasys-kit deleted a comment from andre-trebushi Aug 18, 2020
@lucarebuffi
Copy link
Member

dear Andrei, I deleted my previous comment because it was OT. Oasys renders the forms by using PyQt, that is using the native environment. I optimize the aspect in a Mac, please see how the same page looks on that environment.

Screen Shot 2020-08-18 at 10 54 53 AM

@lucarebuffi
Copy link
Member

From what I see you have a very poor resolution, so the form appears like "compressed". In windows we also find that PyQt struggles with High DPI resolution, with fractional pixel size. In Windows you can set the program to ignore the High DPI setting. I also tried to disable it at the python level but I was unsuccessful in Windows. Maybe it works in Linux.

Could you please tell me if you have High DPI enabled? (in the preferences, go to the hardware section and then Display)
If so could you try to disable it and see how OASYS looks like?

Thanks

@lucarebuffi
Copy link
Member

I installed a Mint 20 virtual environment and I see no issues. Please check your display resolution.

Screen Shot 2020-08-18 at 11 51 43 AM

@andre-trebushi
Copy link
Author

andre-trebushi commented Aug 26, 2020 via email

@lucarebuffi
Copy link
Member

Dear Andrei, there is no attachment I can see. Anyway, plots are made with the silx library (https://github.com/silx-kit/silx) and 'matplotlib' backend. I have no control on the rendering so far. Better plots are always with the plotXY widget, where you can export the plot in hdf5 format, so you can, in case, plot it with an external tool. This is what we do when we need to have nice figures for papers and presentations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants