EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4  
Unread 12-01-2012, 12:34 PM
tknarr's Avatar
tknarr tknarr is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Jul 2006
Server: Unrest
Posts: 849
Default

Quote:
Originally Posted by Therendil View Post
Well, one thing we know is that if nothing is done to change any settings, the default window is drawn as a single pane when opened for the first time in a session. Even if there is no way to check that state, it would seem to be a safe assumption and the shrink/expand toggle could be set to the shrink state.
If nothing was done to change the state, yes. But the code already checks the actual setting and draws the expander based on the frame/titlebar state. The glitch happens if you've set the frame/titlebar state to double-pane but shrunk it down to single-pane via the expander. That resets the size of the window, which is saved, but it looks to me like it doesn't change the persistent frame/titlebar state. Result: everything's OK for that session, but at next login the window will be drawn single-pane but with the flags set for double-pane. I can see what I need to do (set it up so the OnShow event for the main window checks the frame/titlebar state and forces the width to match regardless of what's in the UI settings), I just haven't worked through it all yet. The way complex scripts have to be encoded in the XML doesn't make it any easier.
__________________
"Hey! I'm not illiterate. I had a book once. ...could've used some ketchup though..."
Reply With Quote
 



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:53 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI