On Monday, May 4, 2015 at 4:30:45 PM UTC-5, Edward K. Ream wrote:
>
>
> http://doc.qt.io/qt-4.8/qlayout-members.html doesn't list .setMargin as
>> a member (even inherited) of QLayout, so I'd need more context to
>> comment, but calling not a member seems wrong :-)
>>
>
> ​Ok.  I'll just go ahead and fix the suspicious code.
>

Done at fb9124b.  BTW, this 
<http://doc.qt.io/qt-4.8/qlayout-obsolete.html>lists 
setMargin as obsolete, which probably explains why it sometimes works.

Only one real change was required, in the experimental LineTextWidget ctor.

Also, the python_terminal plugin now uses the simplified form of 
setContentsMargins.  That is, setContentsMargins(0,0,0,0) instead of 
setContentsMargins(QtCore.QMargins(0,0,0,0)).

EKR

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to