View Single Post
  #109  
Unread 01-18-2009, 12:42 AM
dragowulf's Avatar
dragowulf dragowulf is offline
A man among men
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Nagafen
Posts: 934
Default

Quote:
Originally Posted by SOE-Rothgar View Post
I'd have to do some digging on that issue.

A window only has one "size". When the uisettings file is saved, it grabs the actual values from the window. There's no hidden size field, so if the window size is modified I'm not sure what would cause it to not save. It shouldn't matter if it was modified in script or by a user. The only thing I can think of is that the window doesn't think any values have changed, so its not really being saved. Maybe try changing the size with script, then move the window with your mouse so the location changes. This will definitely trigger an update for that window. When you camp and come back I would expect the location is where you left it since you moved it with the mouse, but would the size revert back to the old size, or the new size that you set with script?
Well if I made a button that OnPress the value was something like Parent.Size='1,1' it would change the size of the window, but it wouldn't save. It only saves if the size value is changed manually (ie resizing the window). Same thing with things within the UI window like location of other objects.

If I understand gm9 he wants to have it save the changes made by scripts and buttons and all that. I wouldn't mind it either.
__________________
May Jesus Have Mercy On Us
Reply With Quote