+ myLabel->setAlignment(Qt::AlignLeft | Qt::AlignTop);
+ myLabel->setContentsMargins(0,0,0,4);
+
+ QVBoxLayout* aLayout = new QVBoxLayout(this);
+ ModuleBase_Tools::zeroMargins(aLayout);
+ aLayout->addWidget(myLabel);
+ setLayout(aLayout);
+
+ std::string aStyleSheet = theData->getProperty(ATTR_STYLE_SHEET).c_str();
+ if (!aStyleSheet.empty())
+ myLabel->setStyleSheet(QString("QLabel {%1}").arg(aStyleSheet.c_str()));