from PyQt4 import QtGui
app = QtGui.QApplication.instance()
styleSheet = '''
* {
font: 16px;
}
'''
app.setStyleSheet(styleSheet)
I tried to get qt object of outlinerPanel1Window and called setFont() on it, but it doesn't work.
font = QtGui.qApp.font()
font.setPixelSize(16)
QtGui.qApp.setFont(font)
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/88365859-a6e6-479c-84d1-987d56db78bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
yes I have tried that, it does not affect outliner font either. And it does not change font size on the top edge of viewport while CSS method works for that.
--
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 python_inside_m...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/f9042b95-d35f-4b7c-a358-6423c01aca9e%40googlegroups.com.
maybe I can use mount -bind to replace that file, but I have no root privileges. or maybe I can use https://github.com/proot-me/PRoot , but I can not compile it in office. and it may affect our maya launcher.