PDA

View Full Version : QTextEdit Alignment



vijay anandh
2nd May 2006, 07:38
Hi All

I am using VS 2005 with Qt 4.1. I have placed one QTextEdit control on the form.it is 400 width and 500 height. What I want is , 5 or 10 margin size i should have around all sides

See below for sample

Hi Text Should Be coming like Welcome Welcome Welcome Welcome Welcome
Hi Welcome Welcome Welcome Welcome Welcome Welcome Welcome Welcme

^
! -> See the space from left and right

What i have to do this

looking forward your favourable reply

warm regards
vijay

zlatko
2nd May 2006, 07:44
Create layout,add your text box to it and set margin for layout