# Changing vtkScalarBarActor title justification has no effect

**URL:** https://discourse.vtk.org/t/changing-vtkscalarbaractor-title-justification-has-no-effect/2001
**Category:** Support
**Created:** [October 29, 2019, 4:38pm UTC](https://discourse.vtk.org/t/changing-vtkscalarbaractor-title-justification-has-no-effect/2001 "2019-10-29T16:38:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![msmerps](https://discourse.vtk.org/user_avatar/discourse.vtk.org/msmerps/32/1559_2.png) [@msmerps](https://discourse.vtk.org/u/msmerps)
#### Post date: [October 29, 2019, 4:38pm UTC](https://discourse.vtk.org/t/changing-vtkscalarbaractor-title-justification-has-no-effect/2001/1 "2019-10-29T16:38:15Z")

</div>

Hi all,  
I’ve translated this example of vtkScalarBarActor into C#:

[https://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ScalarBarActor](https://vtk.org/Wiki/VTK/Examples/Cxx/Visualization/ScalarBarActor)

And am trying to change the left-right justification of the title text from “left” to “right” with the following line of code:  
scalarBar.GetTitleTextProperty().SetJustificationToRight();

The command successfully changes the justification as confirmed by running:  
scalarBar.GetTitleTextProperty().GetJustificationAsString();

However, there is no effect on the title’s appearance. Attached are two screenshots with the two different justifications and the title is in the exact same place.

 ![titleLeftJustified](https://discourse.vtk.org/uploads/default/original/2X/e/e487740e499199deaa3b675ff775ceeb9f3893f0.jpeg) ![titleRightJustified](https://discourse.vtk.org/uploads/default/original/2X/e/e9f630ac91f4a3046f29709b6ae286a166edbf6a.png)
