--- a/QTfrontend/togglebutton.cpp Thu Apr 02 20:37:03 2009 +0000
+++ b/QTfrontend/togglebutton.cpp Thu Apr 02 20:53:52 2009 +0000
@@ -32,6 +32,8 @@
pmChecked.load(img);
pmDisabled.load(img);
+ pbMain->setMaximumWidth(pmChecked.width() + 6);
+
l->addWidget(pbMain);
painter->begin(&pmDisabled);
@@ -44,7 +46,8 @@
connect(pbMain, SIGNAL(toggled(bool)), this, SLOT(eventToggled(bool)));
lbMain = new QLabel(this);
- lbMain->setFixedHeight(32);
+ lbMain->setWordWrap(true);
+// lbMain->setFixedHeight(32);
l->addWidget(lbMain);
}