Use larger window for the demo application

master
Jos van den Oever 2017-09-03 15:38:17 +02:00
parent 3abd7ddedf
commit 4df1187063
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,8 @@ ApplicationWindow {
property string initialTab: "style"
property int qtquickIndex: 0
visible: true
height: 500
width: 800
height: 640
header: TabBar {
id: bar
width: parent.width

View File

@ -85,7 +85,7 @@ void createQtQuick(const QString& name, const QString& qml, Model* model,
if (window) {
geometry = window->geometry();
} else {
geometry = QRect(0, 0, 500, 500);
geometry = QRect(0, 0, 800, 640);
}
engine->load(QUrl(qml));
QObject* root = engine->rootObjects().first();
@ -317,7 +317,7 @@ QTabWidget* createTabs(Model* model) {
void createMainWindow(Model* model, const QString& initialStyle,
const QString& initialTab) {
QMainWindow* main = new QMainWindow();
main->setMinimumSize(QSize(500, 500));
main->setMinimumSize(QSize(800, 640));
QComboBox* box = createStyleComboBox(model);
QStatusBar* statusBar = createStatusBar(model, main, box, initialTab);