EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-01-2005, 12:28 AM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default Effects Window Icon Spacing Woes

I decided the other day that I was bored with the top-to-bottom maintained and effects windows, and wanted to change them to fill horizontally (outside-in/inside-out depending on which one I put on the left and which on the right.)

Got the maintained window working perfectly, with a 1-pixel frame, and 1 pixel of blank space between each icon and between the icons and the frame. The problem I'm running into is that nothing I do seems to fix the effects window's 2-pixel between icons of blank space.

I tried setting each icon 1 pixel closer to the last (which should have made them end up right next to eachother with no blank space) but that didn't work. Checked for margin, padding, spacing, anything like that in the UIBuilder full attribute list, nothing. I'm at a loss. Any help would be greatly apreciated.
Attached Files
File Type: xml eq2ui_mainhud_effects.xml (8.6 KB, 352 views)
File Type: xml eq2ui_mainhud_maintained.xml (8.3 KB, 380 views)
__________________
Reply With Quote
  #2  
Unread 03-01-2005, 01:27 AM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

The Effects window is hard-coded to pretend it's a VolumePage with certain padding info. The best way to work around it that I can think of is to set each icon to visible="false" and use OnShow="Location=(x,y)" scripts, but that will prevent them from moving correctly if you resize the window.

To get around THAT, you might try putting in a REAL volumepage and having each icon move to the location of the page it should be tied to with OnShow scripts on each icon, and OnHoverIn and OnHoverOut on the window itself.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #3  
Unread 03-01-2005, 07:12 AM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

Quote:
Originally Posted by Deathbane27
The Effects window is hard-coded to pretend it's a VolumePage with certain padding info. The best way to work around it that I can think of is to set each icon to visible="false" and use OnShow="Location=(x,y)" scripts, but that will prevent them from moving correctly if you resize the window.

To get around THAT, you might try putting in a REAL volumepage and having each icon move to the location of the page it should be tied to with OnShow scripts on each icon, and OnHoverIn and OnHoverOut on the window itself.
Sooo…I can't just set CellPadding="1,2" like I did for the maintained window?

Edit: Nope, I can't.
Edit2: Setting an OnShow and an OnHide Location= didn't work, either. *sigh* What do you want to bet when I take the time to set up a real volume page I break the window entirely?
__________________

Last edited by ger : 03-01-2005 at 07:29 AM.
Reply With Quote
  #4  
Unread 03-01-2005, 07:59 AM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

Tried setting up a real volume page, but as I expected it broke the window entirely (the icons only show if they're direct children of the top-level window.) OnHide/OnShow Location=(X,Y) triggers don't seem to actually move the icons, so I don't think I can even create an empty volume page and use Location=Parent.Frame#.Location triggers. Any other suggestions? Or shall I just redo the maintained window to match the 2-pixel margins on the effects window? (Which I'd really rather not do, I kinda hate the 2-pixel margins heh)
__________________
Reply With Quote
  #5  
Unread 03-01-2005, 05:15 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Blech, you're out of luck I'm afraid.
__________________
If it ain't broke, it needs more features!
Reply With Quote
  #6  
Unread 03-01-2005, 05:50 PM
ger's Avatar
ger ger is offline
Steward of the Faithful
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Nov 2004
Server: Antonia Bayle
Posts: 580
Default

Bah. Thought as much. Oh well, thanks for the suggestions.
__________________
Reply With Quote
Reply



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
Forum Jump


All times are GMT -5. The time now is 02:00 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI