@@ -175,6 +175,7 void PieSliceItem::updateGeometry() | |||||
175 | m_labelItem->setTextWidth(m_labelTextRect.width() |
|
175 | m_labelItem->setTextWidth(m_labelTextRect.width() | |
176 | + m_labelItem->document()->documentMargin()); |
|
176 | + m_labelItem->document()->documentMargin()); | |
177 | m_labelItem->setHtml(label); |
|
177 | m_labelItem->setHtml(label); | |
|
178 | m_labelItem->setRotation(0); | |||
178 | m_labelItem->setPos(m_labelTextRect.x(), m_labelTextRect.y() + 1.0); |
|
179 | m_labelItem->setPos(m_labelTextRect.x(), m_labelTextRect.y() + 1.0); | |
179 | } else { |
|
180 | } else { | |
180 | // label inside |
|
181 | // label inside |
General Comments 0
You need to be logged in to leave comments.
Login now