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

High DPI display support #60

Open
bewantbe opened this issue Oct 30, 2016 · 4 comments
Open

High DPI display support #60

bewantbe opened this issue Oct 30, 2016 · 4 comments
Labels

Comments

@bewantbe
Copy link

On high DPI display (DPI>200) some widgets and text are not shown correctly which make some function not quite usable. Especially the left panel.

screenshot

@tfmoraes
Copy link
Member

Unfortunately, we don't have access to a High DPI monitor to test. You are running inVesalius in Ubuntu? Maybe you can try to set an other scale factor ... The problems seems to be in the custom widgets we use from wxPython. I don' t know if it were fixed in wxPython.

@bewantbe
Copy link
Author

I'm using Debian 8, which comes with Gnome 3.14, wxPython 3.0.1.1, inVesalius 3.0, roughly like Ubuntu 15.04.

I already used the tweak tool for Gnome and increase the scaling to 2. Most texts follow the scaling, but some other elements are not.

I will try some newer version of wxPython or wxWidgets.

@tfmoraes
Copy link
Member

It seems that wxWidgets 3.1 have better support to High DPI monitors, but it's a under development version yet.

@bewantbe
Copy link
Author

bewantbe commented Nov 1, 2016

I found no easy way to use wxWidgets 3.1 at this time.

I compiled wxWidgets 3.1, then LD_PRELOAD the libraries and run inVesalius, inVesalius crashed with Segmentation fault.

Meanwhile, wxPython do not support wxWidgets 3.1 yet.

I think even without HiDPI Monitor, it is still possible to debug, just increase scaling factor or font size, see if the frames scales correctly.

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

No branches or pull requests

3 participants