I have set this using style sheets for certain elements that most Uis would have. Even made a system that lets users have control over the colors. I set the style sheet on the maya mainwindow have not checked the toolbars in 2017 yet mainwindow is a wrappedinstance - I set the background color of a few items in the maya gui back for personal choice of how overwhelming the colors get because maya utilizes toolBars for some big sections of the main ui
mainwindow.setStyleSheet('QToolBar, QStatusBar, QMenuBar{background-color:rgb(%d, %d, %d);}\nQMainWindow#%s,#toolBar1,#toolBar2,#toolBar3,#toolBar4,#toolBar5,#toolBar6,#toolBar7{background-color:rgb(70,70,70);}'%(splits[0], splits[1], splits[2], mainwindow.objectName())) On Monday, September 26, 2016, Chad_Fox <chadlee...@gmail.com> wrote: > I'm familair with how we can edit Maya's UI color with the window, layout, > button commands, but was wonding this morning if there's a way to just > change UI border/ window frame colors or title bar colors in python? > > The end goal is that I would like to use a slightly different color for > each instance of Maya I open up. > > Have any of you tried this before or know where to read up on how? > > Thanks! > > -- > 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_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/ms > gid/python_inside_maya/4fdb53f8-7889-41fa-a0e4-cec794907287% > 40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/4fdb53f8-7889-41fa-a0e4-cec794907287%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAM9RXoKCChkYTv1KbBExBG_KL%3D3T6a6FZcJzgHMZaLGAVctnAQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.