Dear list...
I designed my window with qt-designer and converted it with pyuic4. It
contains a QGridLayout and the pyuic4 creates a ".setMargin(0)" call,
which is according to the pyside doc not supported anymore, but only
".setContentsMargin(1,2,3,4)". Anybody knows, why this function is not
supported anymore or how to avoid that pyuic4 creates this output? It
works in PyQt4.
Thanks for your help!
Code:
from PySide import QtGui
g = QtGui.QGridLayout(None)
g.setMargin(0) # this produces an exception
PyQt4 version:
from PySide import QtGui
g = QtGui.QGridLayout(None)
g.setMargin(0) # this works great
Have a nice evening!
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside