Dear VRED Users,
I'm having problems with the vrMenu.
1. By default it is black. How do I get it to be transparent? (attachment 01)
-> If I turn "setAlpha(1)" to for example "menu.setAlpha(0)" the black dissapears, but with it my menu ๐
- the background of the html is set to "none"
2. Some Outlines do not appear until you re-enalbe the the checkbox that turns on the opacity of the tabel via javascript. (attachment 02)
-> Some do not appear at all...
3. The dropdownmenu appears somewhere random!? (attachment 03)
Everything works just fine in Chrome...
Version 2018.3
This is the script:
menu = vrMenu(1,1,1)
menu.setUrl("C:/some/path/vrMenu.html")
menu.setPosition2D(0,50)
#menu.setAutoResize(0.00058)
menu.setAlpha(1)
menu.show()
menu.setWindowResize("vrMenu", 400, 970)
Solved! Go to Solution.
Solved by seiferp. Go to Solution.
Hi,
no need to use menu.setAlpha(1) in python. Just set the background of the page to background: rgba(255,0,0,0); in your stylesheet. Let me know if it worked.
Cheers
Pascal
I also can reproduce the wired combobox/dropdown behavior. It looks that the <select> element is opening a kind of popup window at the position of your element. I mean a real one and not inside the page itself. I think there is nothing we can do because we just stream the content from the engine/webpage into a texture. Not smart, but maybe you can workaround this with a kind of unfolding list or something like this. Link
Hey Pascal
Thx ๐
Setting the backgrounds RGBA to "0" or even "none" works fine, as long there is no menu.setAlpha(1) in python (my bad :D)
Can't find what you're looking for? Ask the community or share your knowledge.