Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-23-2012, 02:39 PM
Gos_pira Gos_pira is offline
Registered Pirate Ghost
Gos_pira's Avatar
Join Date: Sep 2009
Location: Pirate Ghost Ship
Posts: 175
Gos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to behold
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.
Reply With Quote
  #2  
Old 11-23-2012, 05:30 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
canresize and canclose are not supported for external windows, it always allows the user to change or close them, could be annoying otherwise
Reply With Quote
  #3  
Old 11-23-2012, 05:44 PM
Gos_pira Gos_pira is offline
Registered Pirate Ghost
Gos_pira's Avatar
Join Date: Sep 2009
Location: Pirate Ghost Ship
Posts: 175
Gos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to behold
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.
Reply With Quote
  #4  
Old 11-23-2012, 05:48 PM
Gos_pira Gos_pira is offline
Registered Pirate Ghost
Gos_pira's Avatar
Join Date: Sep 2009
Location: Pirate Ghost Ship
Posts: 175
Gos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to behold
Also, what about the size difference?
Reply With Quote
  #5  
Old 11-24-2012, 06:10 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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.
Reply With Quote
  #6  
Old 11-24-2012, 10:10 PM
Gos_pira Gos_pira is offline
Registered Pirate Ghost
Gos_pira's Avatar
Join Date: Sep 2009
Location: Pirate Ghost Ship
Posts: 175
Gos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to beholdGos_pira is a splendid one to behold
Oh, okay. Well, then I'll have to live with it!
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:32 AM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.