![]() |
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. |
canresize and canclose are not supported for external windows, it always allows the user to change or close them, could be annoying otherwise
|
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. |
Also, what about the size difference?
|
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.
|
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.