<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Daniil,<br><br>Yes, both horizontal and vertical scrolling are working with your code. Now how do we get this to work in my case? :)<br><br>In my case, I have a scrollAreaWidgetContents (QWidget) 798 x 476 added to scrollArea. I can not resize this object using Qt creator. Even if I try to change the ui header file directly outside Qt creator, scrolling is not enabled. The group boxes which are added to scrollAreaWidgetContents have a combined height of more than 500.<br><br>I have no clue why this doesn't work, unless groupboxes and/or form layouts does not support scrolling.<br><br>~Sudheer<br><br>&gt; Date: Tue, 8 Jun 2010 17:02:55 +0300<br>&gt; Subject: Re: How to get kinetic scrolling working using Qt creator<br>&gt; From: daniil.ivanov@gmail.com<br>&gt; To: scifi.guy@hotmail.com<br>&gt; CC: maemo-developers@maemo.org<br>&gt; <br>&gt; Hi Sudheer!<br>&gt; <br>&gt; Can you try this sample application<br>&gt; <br>&gt; #include &lt;QtGui&gt;<br>&gt; <br>&gt; int main (int argc, char **argv)<br>&gt; {<br>&gt;     QApplication app(argc, argv);<br>&gt; <br>&gt;     QPixmap pixmap(1000, 1000);<br>&gt;     pixmap.fill(Qt::green);<br>&gt; <br>&gt;     QLabel *label = new QLabel;<br>&gt;     label-&gt;setPixmap(pixmap);<br>&gt; <br>&gt;     QScrollArea *scroll = new QScrollArea;<br>&gt;     scroll-&gt;setWidget(label);<br>&gt; <br>&gt;     QMainWindow win;<br>&gt;     win.setCentralWidget(scroll);<br>&gt;     win.show();<br>&gt; <br>&gt;     return app.exec();<br>&gt; }<br>&gt; <br>&gt; Thanks, Daniil.<br>&gt; <br>&gt; On Tue, Jun 8, 2010 at 4:41 PM, Sudheer K. &lt;scifi.guy@hotmail.com&gt; wrote:<br>&gt; &gt; &nbsp;I think my previous message was not posted because of attachments. So,<br>&gt; &gt; posting again with the link to the source code in garage page.<br>&gt; &gt;<br>&gt; &gt; https://garage.maemo.org/plugins/ggit/browse.php/?p=vicar;a=tree;f=src/vicar-config/uis;h=3e2e395c649bd1d5d92490fb2e959b734c77ab1a;hb=af05031713c05157ffb173c51beb8dfb29a6e2f8<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; Ram - I am using Qt creator to create .ui file. I have attached the ui file<br>&gt; &gt; and the header file generated by Qt creator. Any changes I make to the<br>&gt; &gt; header file will be overwritten. So I want to use Qt creator only. But the<br>&gt; &gt; code generated by Qt creator is similar to yours. I am using the QScrollArea<br>&gt; &gt; as well.<br>&gt; &gt;<br>&gt; &gt; Felipe - I am adding two groupboxes to the scroll area. The combined height<br>&gt; &gt; for these two boxes is more than 500 which should trigger scrolling. But it<br>&gt; &gt; doesn't :(<br>&gt; &gt;<br>&gt; &gt; Daniil - I am not using dpkg at this moment because I am not creating a deb.<br>&gt; &gt; I am using qmake and make to create the executable and running on device<br>&gt; &gt; using run-standalone.sh.<br>&gt; &gt;<br>&gt; &gt; Output from qmake -v<br>&gt; &gt; QMake version 2.01a<br>&gt; &gt; Using Qt version 4.6.2 in /usr/lib<br>&gt; &gt;<br>&gt; &gt; Can you look the ui file or header file in the link and tell me what could<br>&gt; &gt; be wrong here? I have only one field that is going off the screen.<br>&gt; &gt;<br>&gt; &gt; ________________________________<br>&gt; &gt; The New Busy is not the old busy. Search, chat and e-mail from your inbox.<br>&gt; &gt; Get started.<br>&gt; &gt; _______________________________________________<br>&gt; &gt; maemo-developers mailing list<br>&gt; &gt; maemo-developers@maemo.org<br>&gt; &gt; https://lists.maemo.org/mailman/listinfo/maemo-developers<br>&gt; &gt;<br>&gt; &gt;<br>                                               <br /><hr />The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.  <a href='http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5' target='_new'>Get busy.</a></body>
</html>