QTfrontend/igbox.cpp
changeset 1209 7f6cb1d7be2a
parent 1193 2911384169b4
child 1248 8c77eec56bf4
--- a/QTfrontend/igbox.cpp	Wed Aug 13 22:35:27 2008 +0000
+++ b/QTfrontend/igbox.cpp	Thu Aug 14 13:34:44 2008 +0000
@@ -31,6 +31,20 @@
 void IconedGroupBox::setIcon(const QIcon & icon)
 {
 	this->icon = icon;
+	setStyleSheet(
+		"IconedGroupBox{"
+			"margin-top: 46px;"
+			"margin-left: 12px;"
+			"padding-top: 22px;"
+			"}"
+		"IconedGroupBox::title{"
+			"subcontrol-origin: margin;"
+			"subcontrol-position: top left;"
+			"padding-left: 82px;"
+			"padding-top: 26px;"
+			"text-align: left;"
+			"}"
+	);
 }
 
 void IconedGroupBox::paintEvent(QPaintEvent * event)