- Home /
Question by
numberkruncher · Aug 14, 2012 at 11:34 PM ·
editormenueditorwindowdropdown
GenericMenu DropDown Direction
I have a button that is located at the bottom of an EditorWindow
which when clicked must display a menu. I would like the menu to appear (and be neatly positioned) above the button which must work across OS's.
------------------------
| Do something... |
| Do something else... |
------------------------
| Button ^ |
------------
How can this be achieved?
Comment
Best Answer
Answer by ScroodgeM · Aug 15, 2012 at 08:55 PM
simple take and store button's coords and after all other controls draw custom control using absolute GUI coords (not Layout)
Your answer
Follow this Question
Related Questions
Editor Scripting Question 1 Answer
Custom Editor fields listed below script variables 1 Answer
Editor menus are invisible 1 Answer
Editor Color Picker issues 0 Answers
How to override geometry of a procedurally generated sprite in Editor Mode 0 Answers