PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 866 - QtGui.QVBoxLayout doesn't have.setMargin()
: QtGui.QVBoxLayout doesn't have.setMargin()
Status: CLOSED INVALID
Product: PySide
Classification: Unclassified
Component: QtGui
: 1.0.2
: PC Linux
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-05-27 22:31 EEST by Tomoki Imai
Modified: 2011-06-22 20:25 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoki Imai 2011-05-27 22:31:50 EEST
I'm running python2.6.5 on Ubuntu 10.04.
And install pyside from ppa.
Package version is 1.0.2-1.

I want to use QtGui.QVBoxLayout.setMargin().
But I got error.
AttributeError: 'PySide.QtGui.QVBoxLayout' object has no attribute 'setMargin'

In PyQt4,I can use QtGui.QVBoxLayout.setMargin().
So I think this is the error of PySide.

Thank you and sorry for my bad English.
Comment 1 Hugo Parente Lima 2011-05-27 23:23:21 EEST
setMargin is a deprecated method of Qt since Qt 4.4 IIRC, use setContentsMargin
instead.

Regards
Comment 2 renato filho 2011-06-22 20:25:10 EEST
release 1.0.4