[Qt-interest] [URGENT] QTextEdit in ScrollArea

Abhishek abhishekworld at gmail.com
Tue May 12 07:01:46 CEST 2009


Hi,
try setSizePolicy on QTextEdit
SetSizePolicy()

http://doc.trolltech.com/4.5/qtextedit-members.html
http://doc.trolltech.com/4.5/qwidget.html#sizePolicy-prop
http://doc.trolltech.com/4.5/qsizepolicy.html#Policy-enum
On Mon, May 11, 2009 at 10:36 PM, Neel Basu <neel.basu.z at gmail.com> wrote:

> I have put my Widget and QTextEdit  in a Cuystom Widget . and I've set that
> Custom Widget as Widget in a ScrollArea.
>
> But I dont want QTextEdit to Display the vertical scrollbar rather I want
> the
> QTextEdit be as long as my Text. which I'll Scroll by the Vertical
> Scrollbar
> on my ScrollArea
>
> any idea ??
>
> Thanks
> Neel
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



-- 
Abhishek Patil

"Imagination is more important than knowledge..." -Albert Einstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090512/7430a0d7/attachment.html 


More information about the Qt-interest-old mailing list