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)
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.