mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 18:21:16 +02:00
give the Oven window a fixed width
This commit is contained in:
parent
8d3b854e69
commit
e1840eb4fe
1 changed files with 5 additions and 0 deletions
|
@ -33,7 +33,12 @@ void Oven::setupGUI() {
|
||||||
|
|
||||||
_mainWindow->setWindowTitle("High Fidelity Oven");
|
_mainWindow->setWindowTitle("High Fidelity Oven");
|
||||||
|
|
||||||
|
// give the window a fixed width that will never change
|
||||||
|
const int FIXED_WINDOW_WIDTH = 640;
|
||||||
|
_mainWindow->setFixedWidth(FIXED_WINDOW_WIDTH);
|
||||||
|
|
||||||
_mainWindow->setCentralWidget(new ModelBakeWidget);
|
_mainWindow->setCentralWidget(new ModelBakeWidget);
|
||||||
|
|
||||||
_mainWindow->show();
|
_mainWindow->show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue