# Slicer three dimension widget layout not correct on Mac

**URL:** <https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936>\
**Category:** Development\
**Created:** [May 26, 2018, 11:39pm UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936 "2018-05-26T23:39:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![priya.vada4](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@priya.vada4](https://discourse.slicer.org/u/priya.vada4)\
**Post date:** [May 26, 2018, 11:39pm UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936/1 "2018-05-26T23:39:21Z")

</div>

Hi

I built the latest version of Slicer 4.9 (4.9.0-2018-05-25 rde9b19d) using Qt 5.10 executable file on a Mac. The three D widgets don’t look correct. I have attached a screenshot with this post. Could someone please help resolve the problem.

Thanks  
Priya

 ![ThreeD](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/5/3574b81ca767f4d4b382b2c244c91d12d17633e5.png)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 27, 2018, 12:05am UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936/2 "2018-05-27T00:05:01Z")

</div>

Does the official nightly release that you download works well?  
Have you built Slicer using VTK9?

---

<div class="post-metadata">

**Author:** ![priya.vada4](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@priya.vada4](https://discourse.slicer.org/u/priya.vada4)\
**Post date:** [May 28, 2018, 3:03am UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936/3 "2018-05-28T03:03:38Z")

</div>

Thanks Andras. That is exactly what I am trying. Can you let me know the git tag for downloading and building VTK 9 with Slicer? I was getting errors downloading VTK 9 with the git tag mentioned in Cmake files.

Thanks  
Priya

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 28, 2018, 5:31am UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936/4 "2018-05-28T05:31:38Z")

</div>

Slicer downloads and builds the correct VTK version automatically. Did you try to build Slicer with some other pre-built VTK version?

---

<div class="post-metadata">

**Author:** ![priya.vada4](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@priya.vada4](https://discourse.slicer.org/u/priya.vada4)\
**Post date:** [May 28, 2018, 1:04pm UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936/5 "2018-05-28T13:04:20Z")

</div>

Hi Andras

When I try to choose VTK version 9 in CMake and then build Slicer, I get the following error. I suspect that the git tag is incorrect for VTK 9.

Error is as follows:

You are in ‘detached HEAD’ state. You can look around, make experimental  
changes and commit them, and you can discard any commits you make in this  
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may  
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b

HEAD is now at 10e8cdc30e… Merge topic ‘give\_up\_on\_eigin’  
Submodule ‘VTK-m’ ([https://gitlab.kitware.com/vtk/vtk-m.git](https://gitlab.kitware.com/vtk/vtk-m.git)) registered for path ‘ThirdParty/vtkm/vtk-m’  
Cloning into ‘/Users/Priya/Project/Slicer-latest/Slicer-Superbuild-Debug-QT/VTKv9/ThirdParty/vtkm/vtk-m’…  
git-lfs filter-process: git-lfs: command not found  
fatal: The remote end hung up unexpectedly  
Unable to checkout ‘6a908cc9da6076a42d41b9397ad71f56a1f69a70’ in submodule path ‘ThirdParty/vtkm/vtk-m’  
CMake Error at VTKv9-prefix/tmp/VTKv9-gitclone.cmake:93 (message):  
Failed to update submodules in:  
‘/Users/Priya/Project/Slicer-latest/Slicer-Superbuild-Debug-QT/VTKv9’

make[2]: \*\*\* [VTKv9-prefix/src/VTKv9-stamp/VTKv9-download] Error 1  
make[1]: \*\*\* [CMakeFiles/VTKv9.dir/all] Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…

Thanks  
Priya

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [May 28, 2018, 1:26pm UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936/6 "2018-05-28T13:26:37Z")

</div>

It seems that you need to install git-lfs.

---

<div class="post-metadata">

**Author:** ![priya.vada4](https://avatars.discourse-cdn.com/v4/letter/p/d26b3c/32.png) [@priya.vada4](https://discourse.slicer.org/u/priya.vada4)\
**Post date:** [May 28, 2018, 8:44pm UTC](https://discourse.slicer.org/t/slicer-three-dimension-widget-layout-not-correct-on-mac/2936/7 "2018-05-28T20:44:12Z")

</div>

Thanks Andras. That fixed the problem. Also, with VTK 9, I don’t have the problem with the threeD widgets anymore.

Thanks for your help.

Priya
