05-08-2012, 08:10 AM
|
#1
|
Premium Member
Join Date: Sep 2002
Posts: 361
|
EQUI_BazaarWnd.xml modification help please.
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.
|
|
|
05-08-2012, 03:24 PM
|
#2
|
Lord Doljonijiarnimorinar
Join Date: Jan 2003
Server: Povar
Posts: 1,050
|
if you put sizeable true in bazaar text and bazaar slots should accomplish this
|
|
|
05-08-2012, 10:45 PM
|
#3
|
Premium Member
Join Date: Sep 2002
Posts: 361
|
Tried that and got runtime error
Not even anything in the uierrors.txt file.
I've attached the file.
|
|
|
05-09-2012, 02:27 AM
|
#4
|
Premium Member
Join Date: Apr 2006
Server: Vox
Posts: 126
|
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.
|
|
|
05-09-2012, 06:25 PM
|
#5
|
Premium Member
Join Date: Sep 2002
Posts: 361
|
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.
|
|
|
05-29-2012, 11:50 PM
|
#6
|
Premium Member
Join Date: Sep 2002
Posts: 361
|
Got it working :P
Finally managed to get it working
|
|
|
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
|
|
|
|