This is supposed to be a workaround, because I enlarged maya ui fonts with
from Qt import QtGui
import maya.cmds as MC
styleSheet = '''
* {
font: 13px;
}
QTextEdit,QMenu {
font-family: "Courier New";
font: normal 16px;
}
'''
app = QtGui.QApplication.instance()
app.setStyleSheet(styleSheet)
# This does not show yellow background color anymore
MC.warning('something')
Or am I doing something wrong with the stylesheet ? I tried :not(QSplitter
QLineEdit) to exclude it, but it has no effect ( still always dark color )
--
You received this message because you are subscribed to the Google Groups
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/python_inside_maya/0ebf0eca-9207-4ad6-a30c-e867d0e941ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.