- Home /
Question by
IgorAherne · Nov 01, 2014 at 07:32 AM ·
editorwindowpointpopup
Restrict position of popup window located in another window
Granted this forum post is there a way to restrict allowed position of a popup window? Thank you!
At the moment, if I drag the pop-up window to the left side of the main window, it is impossible to click on it, so it becomes lost.
Is there a way to access the position of the window at the current time, and to alter it?
Comment
lol man. You are right ahahhah) Well, post as an answer I will accept it!
Best Answer
Answer by zach-r-d · Aug 04, 2015 at 11:33 PM
Can you not check if the position is out of bounds in OnGUI and clamp the position back into bounds if so?