scroller->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
scroller->setFrameStyle(QFrame::NoFrame);
#if defined(Q_OS_SYMBIAN)
- setStyleSheet("QFrame {margin:0; border:0; padding:0}");
+ // setStyleSheet("QFrame {margin:0; border:0; padding:0}");
setStyleSheet("QScrollArea {margin:0; border:0; padding:0}");
#endif
content = new QWidget(scroller);
contentLayout = new QVBoxLayout(content);
+#if !defined(Q_OS_SYMBIAN)
contentLayout->setMargin(0);
+#endif
content->setLayout(contentLayout);
QBoxLayout *boxLayout;
#endif
boxLayout = new QHBoxLayout(this);
}
+ boxLayout->setMargin(0);
boxLayout->addWidget(scroller);
#ifndef Q_OS_SYMBIAN
if (showButtons) {
foreach (QWidget *w, QApplication::allWidgets()) {
w->setContextMenuPolicy(Qt::NoContextMenu);
}
- showMaximized();
+ QDialog::showMaximized();
}
int Dyalog::exec()