# How does the vtkDistanceWidget follow image translation?

**URL:** https://discourse.vtk.org/t/how-does-the-vtkdistancewidget-follow-image-translation/15094
**Category:** Development
**Created:** [December 31, 2024, 12:49am UTC](https://discourse.vtk.org/t/how-does-the-vtkdistancewidget-follow-image-translation/15094 "2024-12-31T00:49:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SeanHan](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/6f9a4e/32.png) [@SeanHan](https://discourse.vtk.org/u/SeanHan)
#### Post date: [December 31, 2024, 12:49am UTC](https://discourse.vtk.org/t/how-does-the-vtkdistancewidget-follow-image-translation/15094/1 "2024-12-31T00:49:18Z")

</div>

Hi all,  
I found that vtkTextWidget cannot follow image translation or scaling, but vtkDistanceWidget can, so I want to modify the code of vtkTextWidget like vtkDistanceWidget .  
Thanks!
