09-08-2011, 11:51 PM
|
#1
|
Featured Artist
Join Date: Aug 2002
Posts: 317
|
Strange Glitch I am stumped with...
Not that I can test right now, because of the power outage in San Diego, but maybe someone has encountered this before.
I am working on a new CastSpellWindow. Something that is a horizontal autosizing with casting gauge - high priority window (thus my asking for help) because it is designed specifically for my RL wife.
I attached the file. Now, an explanation of the problem.
On multiple computers, multiple accounts, multiple characters (basically duplicating it across the board everywhere), this window will move to the bottom right hand part of the screen, mostly off screen, with just a smideon visible to drag it to where you want it. It is consistantly in the same spot in all testing. I have tried it with 8 and 12 spell slots visibile (all I have to play with) and same results.
I am stumped on what is causing it. I tried deleting the UI config file, even verified what it was creating.
[CastSpellWnd]
XPosWindowed=1643
YPosWindowed=3834
RestoreYPosWindowed=3830
If window is locked, etc. it keeps moving it. Not sure how to stabilize this, which I really want to do before I release it. I just can't find anything in the window to cause this behavior.
Is there something whacked with the resize?
__________________
"Ah, but you HAVE heard of me."
|
|
|
09-09-2011, 06:28 AM
|
#2
|
Premium Member
Join Date: Sep 2002
Posts: 361
|
Those positions look way off.
What resolution are you using ?
|
|
|
09-09-2011, 08:02 AM
|
#3
|
Enhanced Imperial Golem
Join Date: Jun 2008
Posts: 204
|
I am fairly sure your problem is:
<relativepostion>false</relativeposition>
<location>
<x>0</x>
<y>25</y>
</location>
I think that overides any postioning you set. Setting it to true should fix you up. Or, at least give it a try and see what happens.
I know when you set that property to false on, say, a label, that label then postions itself based on the screen and not the window it is contained within. So, RelativePostion/false 0,0 on a label will put the label on the top left of your screen regardless of where the window is postioned. I am assuming it has an affect of windows themselves.
|
|
|
09-09-2011, 03:56 PM
|
#4
|
Enhanced Imperial Golem
Join Date: Aug 2004
Posts: 231
|
I actually witnessed some rather peculiar things from this file.
If the window is placed on the left side of the screen and the SpellBook icon/screen is not over the "halfway mark" of the screen, the window stays put when the UI is reloaded. If the SpellBook icon/screen IS over the halfway point, the window shifts right by a certain amount, and the further past the halfway point the spellbook goes the further it shifts.
As to what your problem is specifically ... I just couldn't figure it out. But it seems to revolve around the Spellbook. That or the Horizontal Layout/resizing.
Last edited by warriorofmight : 09-09-2011 at 05:29 PM.
|
|
|
09-09-2011, 06:51 PM
|
#5
|
Featured Artist
Join Date: Aug 2002
Posts: 317
|
I am running 1024x768. Nothing wierd. That is why the config file is WHACKED.
Thank you for the feedback. Continuing to test.
|
|
|
09-10-2011, 07:59 AM
|
#6
|
Enhanced Imperial Golem
Join Date: Aug 2004
Posts: 231
|
It has to be the horizontal layout. I took out everything else that could possibly cause a problem and it persisted.
Whether it is the layout itself or the layout coupled with the screen's lack of size parameters I don't know.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|