improve screen text positioning
Change-Id: Ia1f4ae40b8dbed2324c600f7ef68a33a5b04027b
This commit is contained in:
committed by
Markus Mohrhard
parent
257510bffb
commit
d0f2ea6aef
@@ -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));
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user