hi guys,
i am trying to draft a letter in QTextEdit for which i need to DECREASE BOTTOM MARGIN can some plz help me how can i change only bottom margin for text edit using PyQt4
thanx in advance
ad3d
hi guys,
i am trying to draft a letter in QTextEdit for which i need to DECREASE BOTTOM MARGIN can some plz help me how can i change only bottom margin for text edit using PyQt4
thanx in advance
ad3d
You can use HTML (setHtml()), and if you do, you can style your text with HTML.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Problem is when I am trying to print the text in textEdit using printer, only 1line gets printed on the next page..to avoid this I want to set bottom margin for a page such that that single line will get printed on 1st page itself..
I think you should use QPrinter::setPageMargins() for that.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks