MacGapProject / MacGap2

MacGap 2
MIT License
1.2k stars 84 forks source link

How to fix (set the minimal and/or maximal) the window size? #74

Closed ghost closed 8 years ago

ghost commented 8 years ago

I found a similar issue in MacGap1 repository at here. The solution is to listen the window.onresize event in order to prevent the window size been changed by user.

After read through the MacGap2 documentation, I did not find any event related to changing the window size. Am I missing anything?

Thanks for your viewing and time.

jeff-h commented 8 years ago

I did not find any event related to changing the window size.

The window.onresize is just the native Javascript event, so it should work fine under MacGap 2.