Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   GuiWindowCtrl bugs in external mode. (https://forums.graalonline.com/forums/showthread.php?t=134267450)

Gos_pira 11-23-2012 02:39 PM

GuiWindowCtrl bugs in external mode.
 
Setting canresize to false on a GuiWindowCtrl doesn't seem to work. I can still resize the window. Same goes for canclose.

There's also something wrong with width/height behavior on external windows. Initially it's one size and if you update the script (without changing width/height parameters) the window gets another size...

This causes you to see the window in one size when you're developing it, but later when you restart the client and the window is initialized, the window is a couple of pixels smaller.

Admins 11-23-2012 05:30 PM

canresize and canclose are not supported for external windows, it always allows the user to change or close them, could be annoying otherwise

Gos_pira 11-23-2012 05:44 PM

Okay, I understand that canclose isn't supported. But the resize, I don't know. It could be useful. A certain window could be static size for a reason.

Well, I hope you change your mind about canresize.

Gos_pira 11-23-2012 05:48 PM

Also, what about the size difference?

Admins 11-24-2012 06:10 PM

You need to use "clientrelative = true;" to make sure the controls are positioning relative to the client-area of the window. There can still be problems with the sizing because Windows/OSX/Linux add different borders for the Window which Graal is keeping care of but can still change the size slightly when updating windows.

Gos_pira 11-24-2012 10:10 PM

Oh, okay. Well, then I'll have to live with it!


All times are GMT +2. The time now is 12:06 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.