[MAYA 2016] New GUI Style and Trees

FYI. The new 2016 style has drastically changed the way TreeViews and TreeWidgets look. IMO they look much worse and not compatible with AlternateRowColor.

I supposeI will have to look into subclassing these widget and implementing my own Painter and/or Palette…

screenshot? Is this in normal maya widgets or stuff you’ve made?

it’s the new style for QTreeView and QTreeWidget. I don’t think maya has a native tree widget…? I haven’t built a GUI with maya’s standard GUI commands in years…


stylesheets are going to be a lot easier than rolling your own paint method. You could even apply your tree styles to the main maya window for a global effect.

the standard maya treeView control does not exhibit this same appearance. the parent nodes do not have the lighter gray background.

AD has done something funky with Tree View subcontrols that have children. They have a light gray background and I haven’t been able to override it with a StyleSheet. The color is coming from somewhere other than Background-Color.