# Orientation box interactivity limits the position of the orientation axis with larger size

**URL:** https://discourse.paraview.org/t/orientation-box-interactivity-limits-the-position-of-the-orientation-axis-with-larger-size/11981
**Category:** Development
**Created:** [April 28, 2023, 9:40am UTC](https://discourse.paraview.org/t/orientation-box-interactivity-limits-the-position-of-the-orientation-axis-with-larger-size/11981 "2023-04-28T09:40:12Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![abhinavsns](https://discourse.paraview.org/user_avatar/discourse.paraview.org/abhinavsns/32/10946_2.png) [@abhinavsns](https://discourse.paraview.org/u/abhinavsns)
#### Post date: [April 28, 2023, 9:40am UTC](https://discourse.paraview.org/t/orientation-box-interactivity-limits-the-position-of-the-orientation-axis-with-larger-size/11981/1 "2023-04-28T09:40:12Z")

</div>

if the size of the orientation axis is increased using interactive controls, it cannot be placed in the corner leading to lost white space. Is there any other workaround for this?

---

<div class="post-metadata">

### Author: ![Jonas.Lukasczyk](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jonas.lukasczyk/32/5839_2.png) [@Jonas.Lukasczyk](https://discourse.paraview.org/u/Jonas.Lukasczyk)
#### Post date: [May 2, 2023, 2:09pm UTC](https://discourse.paraview.org/t/orientation-box-interactivity-limits-the-position-of-the-orientation-axis-with-larger-size/11981/2 "2023-05-02T14:09:01Z")

</div>

Hi, I guess you are talking about the padding of the widget to the corner of the viewport. It is just busy work to add a control widget for this. Time is tight right now but do you want to give it a shot? Here is the PR that added the widget:  
[https://gitlab.kitware.com/paraview/paraview/-/merge\_requests/5848/diffs#78ae067889f0ea632ce151136561c39d0a939d07](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/5848/diffs#78ae067889f0ea632ce151136561c39d0a939d07)

You have to call `setPadding` of the `vtkCameraOrientationRepresentation` object in `Remoting/Views/vtkPVRenderView.cxx`  
[https://vtk.org/doc/nightly/html/classvtkCameraOrientationRepresentation.html#a1ae55cb231f019f1d438bc1bb38e8886](https://vtk.org/doc/nightly/html/classvtkCameraOrientationRepresentation.html#a1ae55cb231f019f1d438bc1bb38e8886)

and then add a control widget in `Remoting/Views/Resources/views_and_representations.xml`
