Open moorepants opened 11 years ago
This is fundamentally a mayavi bug:
https://mail.enthought.com/pipermail/enthought-dev/2013-December/032710.html
If you export this environment variable before loading yeadon you can force the GUI backend to be what you like:
export ETS_TOOLKIT='qt4'
Can yeadon override the backend setting?
If you export that environment variable then it can use an alternative backend. The default is wx (at least in Ubuntu).
You could also set the environment variable in the software if the qt4 lib is available. But you need to check for pyqt first I guess.
Something like this as the top of gui.py might be good:
try:
import pyface.qt
except ImportError:
pass
else:
import os
os.environ['ETS_TOOLKIT'] = 'qt4'
But this is not really our bug. It is a bug for MayaVi, Traits, Envisage, Ubuntu, etc.
WX backend on Ubuntu 13.10 (screen resolution 1366 x 768):
QT4 Backend on Ubuntu 13.10 (screen resolution 1366 x 768):
Notice that the wx one looks bad and the qt does not have a maximize button, nor does it fit the screen vertically.
These are new screenshots using Anaconda 2.0.1 on Ubuntu 14.04.
Things are better for the QT version.
What should we do about this?
The background is dark and the font colors for the text are dark. Maybe there are some default settings that would make it look better.