Home Forum Downloads My Favorites Register FAQ Mark Forums Read

Go Back   EQInterface Forums > Developer Discussion > XML modification help.
User Name
Password

Reply
 
Thread Tools Display Modes
Old 05-08-2012, 08:10 AM   #1
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default 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.
Attached Files
File Type: xml EQUI_BazaarWnd - broke.xml (99.5 KB, 0 views)
File Type: xml EQUI_BazaarWnd.xml (98.5 KB, 1 views)
__________________
My UI files.
Angahran is offline   Reply With Quote
Old 05-08-2012, 03:24 PM   #2
Halelen
Lord Doljonijiarnimorinar
 
Join Date: Jan 2003
Server: Povar
Posts: 1,047
Interface Author - Click to view interfaces
Default

if you put sizeable true in bazaar text and bazaar slots should accomplish this
Halelen is offline   Reply With Quote
Old 05-08-2012, 10:45 PM   #3
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

Tried that and got runtime error
Not even anything in the uierrors.txt file.

I've attached the file.
Attached Files
File Type: xml EQUI_BazaarWnd.xml (99.5 KB, 0 views)
Angahran is offline   Reply With Quote
Old 05-09-2012, 02:27 AM   #4
firescue17
Premium Member
 
firescue17's Avatar
 
Join Date: Apr 2006
Server: Vox
Posts: 126
Interface Author - Click to view interfaces
Default

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

firescue17 is offline   Reply With Quote
Old 05-09-2012, 06:25 PM   #5
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Default

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.
Attached Files
File Type: xml EQUI_BazaarWnd.xml (98.6 KB, 1 views)
Angahran is offline   Reply With Quote
Old 05-29-2012, 11:50 PM   #6
Angahran
Premium Member
 
Join Date: Sep 2002
Posts: 360
Interface Author - Click to view interfaces
Smile Got it working :P

Finally managed to get it working
Attached Files
File Type: xml EQUI_BazaarWnd.xml (94.6 KB, 0 views)
Angahran is offline   Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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


vBulletin Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI