bGUI
bGUI copied to clipboard
Question regarding more than one panel open in different positions
Hello, How do i place a GUI panel (guiPanelA) immediately to the right of another GUI panel (guiPanelB) when the original GUI panel (guiPanelB) is not know until run-time?
For example, guiPanelB will fade-in when the mouse rolls over a texture. At the same time, I want guiPanelA to fade in immediately to the right of it. I'm trying to create a tabed-like menu system.
If i could get the exact pixel location for the edge of a GUIPanel, and be able to place a GUIPanel at a pixel location, this might help me. But I've been playing around with
var weaponsSize = myGuiPanel.mesh.getBoundingInfo().boundingBox.extendSize;
console.log(weaponsSize);
but this does not seem to work.
Any ideas?
Thanks, bws.