Author Topic: Restrict window drag..  (Read 2675 times)

omira

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 6
    • View Profile
Restrict window drag..
« on: May 14, 2012, 10:52:19 AM »
In the example 6 (draggable window) you didn't restict the window -> i can push the window out of screen. ;D How can this fixed?

thx :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Restrict window drag..
« Reply #1 on: May 14, 2012, 12:06:17 PM »
Short answer? You'll need to write your own code. The window is moved using UIDraggableObject which is a script that lets you drag anything, but it doesn't know nor care about window size.