QTfrontend/ui/page/pageinfo.cpp
changeset 6200 6a4ace88d85a
parent 6060 fdfc01419815
child 6699 83dd3447a212
--- a/QTfrontend/ui/page/pageinfo.cpp	Mon Oct 24 11:14:09 2011 +0200
+++ b/QTfrontend/ui/page/pageinfo.cpp	Mon Oct 24 20:01:25 2011 +0200
@@ -17,6 +17,7 @@
  */
 
 #include <QGridLayout>
+#include <QHBoxLayout>
 #include <QPushButton>
 
 #include "pageinfo.h"
@@ -38,8 +39,8 @@
 
 QLayout * PageInfo::footerLayoutDefinition()
 {
-    QGridLayout * bottomLayout = new QGridLayout();
-    BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 1, 1, true);
+    QHBoxLayout * bottomLayout = new QHBoxLayout();
+    BtnSnapshots = addButton(":/res/Star.png", bottomLayout, 0, true);
     bottomLayout->setAlignment(BtnSnapshots, Qt::AlignRight | Qt::AlignVCenter);
     return bottomLayout;
 }