WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Drop-list scroll (https://forum.worldviz.com/showthread.php?t=5625)

Seadna 02-03-2016 03:29 AM

Drop-list scroll
 
Hi guys,

I have a drop-list on a canvas which is populated by a lot of items. The list is very long and I cannot select items at the bottom of the list (off canvas, and sometimes off the screen) is there a way to apply a scroll bar to the drop-list o that the user can scroll through items with the mouse wheel?

Any help is much appreciated!

Seadna 02-04-2016 06:37 AM

1 Attachment(s)
Hi folks,

I have reduced the number of buttons etc on my canvas and now the issue is affecting more droplists. The virtual mouse seems to be limited to the size of the canvas (i think!) but the droplists expand below the canvas and the mouse cannot move down past it.

When i try to change the resolution of the canvas it does not change size.

I have attached a screenshot. I cannot currently move the mouse pointer lower than its position in the image.

Jeff 02-04-2016 11:54 PM

Can you post the GUI canvas and drop list code that reproduces the issue?

Seadna 02-05-2016 04:48 AM

Hi Jeff I figured it out. The code snippet I was working from had these lines:

bb = controlPanel.getBoundingBox()
canvas.setRenderWorldOverlay([bb.width + 5, bb.height + 5], fov=bb.height * 0.12, distance=3.0)

I removed them and its all fine now.


All times are GMT -7. The time now is 07:19 PM.

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