Commit 962a6701ac30883ae3cd1bc2c5fe8193b3995ea3

Authored by tatiana
1 parent 7f8f82ae

FIX: Changing text position

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/data/viewer_slice.py
@@ -225,7 +225,7 @@ class Viewer(wx.Panel): @@ -225,7 +225,7 @@ class Viewer(wx.Panel):
225 text_actor = vtk.vtkActor2D() 225 text_actor = vtk.vtkActor2D()
226 text_actor.SetMapper(text_mapper) 226 text_actor.SetMapper(text_mapper)
227 text_actor.SetLayerNumber(1) 227 text_actor.SetLayerNumber(1)
228 - text_actor.GetPositionCoordinate().SetValue(self.GetSize()[0] - 80, 20) 228 + text_actor.GetPositionCoordinate().SetValue(20, 20)
229 text_actor.SetVisibility(1) 229 text_actor.SetVisibility(1)
230 230
231 ren.AddActor(actor) 231 ren.AddActor(actor)