I use Qt Nokia SDK, i test my application on Maemo simulator.
I created a QTableWidget with 2 rows and 7 columns. I have a layout.
Earlier i tried a QCalendarWidget. When i add QCalendarWidget to my layout - no problem - it resizes to the layout. But when i add my QTableWidget to the layout it doesn't resizes. I tried several things, but all of them are fixed, and if I turn the phone - the size of the widget doesn't change, but i need it to take the whole screen like QCalendarWidget does. Can someone help me with this one?

I use QWidget as my main thing were I have a layout
Qt Code:
  1. QVBoxLayout *layout;
To copy to clipboard, switch view to plain text mode