IFs and Frame/Title defined window states
A while back I tried to set up my 3/4 size bag mod to have three different states: none/vertical, frame only/horizontal, frame & titlebar/square. I ran into some serious issues with switching back and forth from frame & titlebar to none, so I scrapped the idea. With Deathbane27's recent discovery of working IF statements I figured I'd give it another shot, using chaned IF buttons to determine whether the user was changing from none to frame only or frame & tilebar and whether the user was switching from frame & titlebar to frame only or none. The problem I'm running into is that the buttons don't actually seem to be triggering. That is, I'm not seeing any change in the bag layout/dimensions where I would expect to if the buttons were being auto-clicked as they should.
Attaching it here in the hopes that one of y'all can figure out what I missed.
P.S. No, StayPut (tm) still doesn't work quite right on this version. Bags will retain their horizontal position, but not the vertical, and I think they only retain horizontal because the horizontal size in my tests was the same as that defined in the XML.
__________________
|