From e1840eb4fedace904111cf0fe6ec9d336958d462 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 7 Apr 2017 14:19:23 -0700 Subject: [PATCH] give the Oven window a fixed width --- tools/oven/src/Oven.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/oven/src/Oven.cpp b/tools/oven/src/Oven.cpp index e77dd9b988..7f185a404e 100644 --- a/tools/oven/src/Oven.cpp +++ b/tools/oven/src/Oven.cpp @@ -33,7 +33,12 @@ void Oven::setupGUI() { _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->show(); }