hey Bay,
Can you post a picture of what your ui looks like right now or share the 
testtree file too? It’s hard to run the code without it.

Anyway, the easiest thing I can see is that you probably need a widget to 
apply your button_layout for.

# Line 64
button_widget = QtGui.QWidget()
button_layout = QtGui.QHBoxLayout(button_widget) 
# Line 72
self.layout.addWidget(button_layout)

-- 
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/7fcb8edc-db60-4cf3-9a80-a9f00d3efd39%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to