EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   Extended Target Window (http://www.eqinterface.com/forums/showthread.php?t=20828)

warriorofmight 10-27-2010 04:33 PM

Extended Target Window
 
Ok, so I tried doing something a little different and basically TileLayoutBoxed the whole window to allow for free movement of the window to any configuration desired. My problem is that the HPLabels and HPPercLabels don't act like the gauges and buttons. Unless all Ext Tar slots are filled, the labels move to occupy the first available slot rather than the one matching the gauge when re-sizing the window. I cannot for the life of me figure out how to get them to stick to the gauge. If all the slots are full, no problem, works like a charm. But if a slot is empty, as soon as you move the window a hair the labels jump to the first available slot.

So a few questions ...

Is it possible to get the labels to stick to the gauge?

If not, is it possible to create multiple static "windows" within the main window in which you could align the individual pieces (Gauge, ManaGauge, STAgauge, HPLabel, HPPercLabel, Role) and then tilebox those "windows"?

If not, is there at least any way to trick the label into thinking there are the proper amount of labels in front of it so that even when being moved it stays where it should?

If not ... bummer =(

Dimencia 10-27-2010 06:27 PM

I ran into this for making bags sets same concept different names

1. set up a window for each extended target (7 are active now, 20 are coded) up to you on how much work you want to put into it. lets call them XTargset_0 to Xtargset_19

2. in each Xtargset_## you are going to have the pieces ext-target-gauge, ext-name, ext-% etc all the parts to this

3. now you use your tile layout box and in that you place your Xtargset's each complete set will adjust in the tilebox as you want.

warriorofmight 10-27-2010 06:33 PM

What type of window? I tried several with no luck =(

Dimencia 10-28-2010 06:29 AM

used verticallayout

warriorofmight 10-28-2010 03:48 PM

1 Attachment(s)
Apparently I still have a lot more to learn than I thought ...

What does it mean when all of the information is at the top left of your screen and not in the desired window? what am I missing here ... will attach file if it helps

valaury3169 10-28-2010 05:42 PM

I am by no means an expert, but I do program for a living.

First, you do not want to put your pieces in a tilelayoutbox. You want to make a container that will hold each of the pieces, and then put those containers inside a tilelayoutbox. That way tou can position the items where you want them, then use the auto-tiling of the tilelayoutbox to arrange those containers automatically. It may work like you have it, but in order to arrange each target set (gauge, name, etc) you will need to put each tilelayoutbox inside another one.

Second, you have relative positioning set to false. Basically, relative positioning determines whether the position is relative to the container it is in, or the screen. False means that it will position the item based on the whole screen. True means that 0,0 is the container it is in. Only in rare cases will relative positioning be set to false.

Also, and you may already know this, but a lot of tags are case sensative. For example, if you have the tag <RelativePositioning>True</RelativePositioning>, the xml parser will read that as false. The 'true' needs to be all lower case.

I hope this helps.

warriorofmight 10-28-2010 09:19 PM

After a LOOONG time I FINALLY got most of it! lol

Now Every space is the first space ... but I'm gonna figure this friggin thing out if it kills me

warriorofmight 10-29-2010 03:14 PM

I did it!!!

Thank you all so much! I've learned a lot from this. I'd never truly built a piece from absolute scratch before and it was .... interesting to say the least.

:nana: :nana: :nana:

Savok 10-29-2010 06:03 PM

Its nice when it works :) Been using mine for a few weeks now. Sorry I never saw the post or I would of let you use mine as a base.


All times are GMT -5. The time now is 08:08 AM.

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.