Hi,

i'm trying to develop an application for symbian with QT. I'm having problems displaying widgets maximized in different resolutions.

Lets say i have one QMainWindow and few QWidgets. One of the QWidgets is called BrandTabs

In QMainWindow i do:

Qt Code:
  1. BrandTabs* tabs = new BrandTabs(this, this->dbManager);
  2. tabs->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding);
  3. tabs->showMaximized();
  4. setCentralWidget(tabs);
To copy to clipboard, switch view to plain text mode 


BrandTabs has a QVBoxLayout, inside it a QTabWidget and inside first tab again QVBoxLayout with QListWidget.

QTabWidget, QListWidget have their size policies set to QSizePolicy::MinimumExpanding.

But still, thei are not maximed if resolution is bigger than defined in editor (i'm using QT creator).

Any hints, thanks