WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 06-25-2016, 10:50 AM
haohaoxuexi1 haohaoxuexi1 is offline
Join Date: Sep 2015
Posts: 81
Is that possible to change the scale and position of vizmenu?

I am wandering how to change the scale and position of the vizmenu

In the tutorial, it teaches us how to add vizmenu but when i write the code "menu.setScale([2]*3)", it came out there is no setScale attribute to menu.
Reply With Quote
Old 06-26-2016, 12:33 AM
Jeff Jeff is offline
WorldViz Team Member
Join Date: Aug 2008
Posts: 2,471
By default, the menu is aligned to the left of the window. It also can be aligned to the center:

menu = vizmenu.add()
You can change the font size used by vizmenu to scale menus up/down. The default font size is 16:

#Scale the menu up
vizmenu.MENU_FONT_SIZE = 20
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping position data to a scaled transform tokola Vizard 6 09-16-2015 02:45 PM
<node3d>.save() position and rotation torbeng Vizard 7 04-18-2012 09:17 AM

All times are GMT -7. The time now is 07:21 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC