View Single Post
  #50  
Unread 05-25-2005, 06:56 PM
Sinbad's Avatar
Sinbad Sinbad is offline
A Sea Turtle
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Permafrost
Posts: 33
Exclamation

I finally figured out what the real problem was with the borders at the bottoms of the bags. In your Step 2 you said:
Quote:
Step 2: It's also necessary to set the first bag slot in each row to Visible="false" and OnShow="Parent.Size=(X,Y) Parent.MinimumSize=(X,Y)", where (X,Y) is the size that the bag should be when that slot's row is shown. If you don't do this, then the window will do it's resize-down-from-default size from that bag's saved size and you won't see your bag windows.
Unfortunately, you left out a factor that I found by looking at Jaxel's 6-slot wide bag mod (I want to be sure and give him credit for this here). You have to add:
Parent.Size=(X,Y) Parent.MinimumSize=(X,Y) Parent.MaximumSize=(X,Y)
Without including the maximum size parameter, I could not get rid of the border problem whenever I moved a bag or added a new bag. With it, that problem is gone. So, thanks to you AND Jaxel, the bags now both Stay Put and Stay Sized.
Reply With Quote