Index: trunk/GnssCenter/monitor/dlgconf.cpp
===================================================================
--- trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5462)
+++ trunk/GnssCenter/monitor/dlgconf.cpp	(revision 5463)
@@ -30,14 +30,18 @@
   _portLineEdit = new QLineEdit;
 
-  QVBoxLayout* mainLayout = new QVBoxLayout;
 
   QFormLayout* formLayout = new QFormLayout;
   formLayout->addRow("Host:", _hostLineEdit);
   formLayout->addRow("Port:", _portLineEdit);
+
+  QPushButton* cancelButton = new QPushButton("Cancel", this);
+  QPushButton* okButton     = new QPushButton("OK", this);
+  QHBoxLayout* buttonLayout = new QHBoxLayout;
+  buttonLayout->addWidget(cancelButton);
+  buttonLayout->addWidget(okButton);
+
+  QVBoxLayout* mainLayout = new QVBoxLayout;
   mainLayout->addLayout(formLayout);
-
-  QPushButton* okButton = new QPushButton("OK", this);
-  mainLayout->addWidget(okButton);
-
+  mainLayout->addLayout(buttonLayout);
   setLayout(mainLayout);
 
