Refactor to use new protocol module and sipo.
[bertos.git] / bertos / emul / emulwin.cpp
index fdd088f19dccbc514a51a62ea4505c472cfedc90..a49fa4807c910b8edcf4db0db853471e81df3718 100644 (file)
@@ -31,7 +31,6 @@
  *
  * -->
  *
- * \version $Id$
  *
  * \author Bernie Innocenti <bernie@codewiz.org>
  *
@@ -62,7 +61,6 @@ EmulWin::EmulWin(Emulator *e)
 {
        setWindowTitle(tr("BeRTOS Emul Demo"));
        setAttribute(Qt::WA_DeleteOnClose);
-       setFixedSize(280,240);
 
        // Create the menu bar
        QMenu *file_menu = menuBar()->addMenu(tr("&File"));
@@ -89,9 +87,9 @@ EmulWin::EmulWin(Emulator *e)
                // LCD
                QHBoxLayout *lay_lcd = new QHBoxLayout();
                box_right->addLayout(lay_lcd);
-                       lay_lcd->addStretch();
-                       lay_lcd->addWidget(e->emulLCD = new EmulLCD(central));
-                       lay_lcd->addStretch();
+                       lay_lcd->addStretch(1);
+                       lay_lcd->addWidget(e->emulLCD = new EmulLCD(central), 8);
+                       lay_lcd->addStretch(1);
 
                // Keyboard
                box_right->addWidget(e->emulKbd = new EmulKbd(central));