- Home /
gui elements truncated by parent
hi, I am using popup.cs in a ScrollView. My problem is that the popups near the edge are truncated by the ScrollView. Is there a simple way to do this?
One solution seems to be using two scripts, both with OnGUI() but with different GUI.depth. But then I have to figure out how to pass the information back and forth (script A tells script B where to draw the popup and what to put in it, script B draws the popup and passes the value back to script A). Could someone give a simple example?
You can find popup.cs from here: http://www.unifycommunity.com/wiki/index.php?title=PopupList≺intable=yes≺intable=yes
Thanks a lot!
Jason
Your answer
Follow this Question
Related Questions
useGUILayout=false does not honor GUI.depth 0 Answers
Popup.cs selection list only supports one list? 2 Answers
Custom EditorGUI widget should invoke EditorWindow.Repaint 0 Answers
Halt function midway until player presses 'OK' then continue 1 Answer
How to use GUI.depth to bring a GUI.Box in front of other GUI elements? 1 Answer