EQInterface Forums

EQInterface Forums (http://www.eqinterface.com/forums/index.php)
-   XML modification help. (http://www.eqinterface.com/forums/forumdisplay.php?f=30)
-   -   EQUI_BazaarWnd.xml modification help please. (http://www.eqinterface.com/forums/showthread.php?t=21182)

Angahran 05-08-2012 08:10 AM

EQUI_BazaarWnd.xml modification help please.
 
2 Attachment(s)
Hi,

I'm hoping maybe someone can give me a little help with my mods to the Bazaar window.
What I'm trying to do is have the 'text' area and the 'slots' area (like they are now), but be able to adjust the size of them without having to resize the window (i.e. make the text area larger and the slots area gets smaller).

If you look at the tribute window you'll see what I mean, you can stretch or shrink the description part and the other part resizes.

I tried basically taking the code from the tribute window and tweaking it for the bazaar window but all I managed was to get EQ to crash with a fun runtime error :P

Any help, suggestions or off the wall ideas would be much appreciated.

I have attached my current working window (EQUI_BazaarWnd.xml) and the non-working one (EQUI_BazaarWnd - broke.xml)

Ang.

Halelen 05-08-2012 03:24 PM

if you put sizeable true in bazaar text and bazaar slots should accomplish this

Angahran 05-08-2012 10:45 PM

1 Attachment(s)
Tried that and got runtime error :(
Not even anything in the uierrors.txt file.

I've attached the file.

firescue17 05-09-2012 02:27 AM

VerticalLayoutBox and / or HorizontalLayoutBox are probably what you're looking for. Lots of windows use them; EQUI_MercenaryMerchantWnd.xml is a good example. It has both top and bottom layouts as well as left and right layouts you can examine.

Put your text pieces in one layoutbox, left / right or top / bottom depending upon how you want your window set up. Put the slots pieces in the opposite side. That will add the drag-able margin between the two sections of information.

Angahran 05-09-2012 06:25 PM

1 Attachment(s)
I've got it so it doesnt crash, and i'm using a vertical layout but it still wont resize.

I've got the resizing to work before in my target window but I just cant see what I'm missing here.

Attaching current file.

Angahran 05-29-2012 11:50 PM

Got it working :P
 
1 Attachment(s)
Finally managed to get it working :)


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

vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.