improve screen text positioning

Change-Id: Ia1f4ae40b8dbed2324c600f7ef68a33a5b04027b
This commit is contained in:
Markus Mohrhard
2014-05-26 03:14:48 +02:00
committed by Markus Mohrhard
parent 257510bffb
commit d0f2ea6aef

View File

@@ -343,7 +343,7 @@ void GL3DBarChart::clickedAt(const Point& /*rPos*/)
maShapes.push_back(new opengl3D::ScreenText(mpRenderer.get(), *mpTextCache,
OUString("Value: ") + OUString::number(rBarInfo.mnVal), 0));
opengl3D::ScreenText* pScreenText = static_cast<opengl3D::ScreenText*>(&maShapes.back());
pScreenText->setPosition(glm::vec2(-1.0f, 0.9f), glm::vec2(-0.6f, 0.75f));
pScreenText->setPosition(glm::vec2(-0.9f, 0.9f), glm::vec2(-0.6f, 0.8f));
}