Skip to content

How to change the Gizmo size? #2057

Discussion options

You must be logged in to vote

I've managed to achieve the resize of GizmoViewCube by wrapping it into a scaled element:

<GizmoHelper
   alignment="top-right"
   margin={[100, 100]}
   >
     <mesh scale={new Vector3(.8, .8, .8)}>
          <GizmoViewcube
            color={"#4F5863"}
            hoverColor={"#53B7E8"}
            textColor={"white"}
            strokeColor={"#53B7E8"}
          />
      </mesh>
</GizmoHelper>

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@AlessandroSigna
Comment options

@AlessandroSigna
Comment options

Answer selected by AlessandroSigna
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants