diff --git a/controls/CustomLineHeightLabel.cpp b/controls/CustomLineHeightLabel.cpp
index f45fe23df47f1017a063f260c1022e5041dc7a25..2054720e42b4775b81d53c0e332e96d7868494f5 100644
--- a/controls/CustomLineHeightLabel.cpp
+++ b/controls/CustomLineHeightLabel.cpp
@@ -8,10 +8,8 @@ CustomLineHeightLabel::CustomLineHeightLabel(QWidget *a_parent)
 
 void CustomLineHeightLabel::setText(const QString &text)
 {
-    if(m_HightLine.isEmpty())m_HightLine = "100";
-    QString textToHtml = QString("<p style = 'line-height:%1;'>").arg(m_HightLine);
-    textToHtml += text;
-    textToHtml += "</p>";
+    if(m_lineHeight.isEmpty())m_lineHeight = "100";
+    QString textToHtml = QString("<p style = 'line-height:%1;'> %2 </p>").arg(m_lineHeight).arg(text);
 
     QLabel::setText(textToHtml);
 
@@ -32,6 +30,6 @@ void CustomLineHeightLabel::updateStyleSheets()
 
     QString stylesheet = AppStyleSheetHandler::getWidgetStyleSheet(searchPar);
     //line-height:
-    m_HightLine = AppStyleSheetHandler::getValueFromStylesheet(stylesheet, "line-height");
+    m_lineHeight = AppStyleSheetHandler::getValueFromStylesheet(stylesheet, "line-height");
 
 }
diff --git a/controls/CustomLineHeightLabel.h b/controls/CustomLineHeightLabel.h
index 91f640f37bb5a71dd4759f4d4685aa5d03c6030a..21611f58cc112ed4815351dc472ea26192894bae 100644
--- a/controls/CustomLineHeightLabel.h
+++ b/controls/CustomLineHeightLabel.h
@@ -14,7 +14,7 @@ public:
     void updateStyleSheets();
 
 private:
-    QString m_HightLine;
+    QString m_lineHeight;
 };
 
 #endif // CUSTOMLINEHEIGHTLABEL_H