WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 02-03-2016, 03:29 AM
Seadna Seadna is offline
Member
 
Join Date: Nov 2015
Posts: 40
Question 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!
Reply With Quote
  #2  
Old 02-04-2016, 06:37 AM
Seadna Seadna is offline
Member
 
Join Date: Nov 2015
Posts: 40
Question

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.
Attached Thumbnails
Click image for larger version

Name:	Canvas Issue.jpg
Views:	1556
Size:	40.0 KB
ID:	758  
Reply With Quote
  #3  
Old 02-04-2016, 11:54 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Can you post the GUI canvas and drop list code that reproduces the issue?
Reply With Quote
  #4  
Old 02-05-2016, 04:48 AM
Seadna Seadna is offline
Member
 
Join Date: Nov 2015
Posts: 40
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.
Reply With Quote
Reply

Tags
canvas, droplist, scroll


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
Dropdown list - can't select with mouse mike66 Vizard 1 05-18-2015 09:16 AM
scroll bar maya Vizard 0 01-24-2014 08:07 AM
Scroll Bar for Text/Resize & Button Image CompSci Vizard 3 07-24-2013 04:23 AM
TypeError: Could not convert list item to float new_horizon Vizard 3 06-20-2011 03:02 AM
onkeydown list of values Cheff Vizard 2 07-02-2008 02:00 AM


All times are GMT -7. The time now is 08:54 PM.


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