![]() |
Effects Window Icon Spacing Woes
2 Attachment(s)
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. |
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. |
Quote:
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? |
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)
|
Blech, you're out of luck I'm afraid.
|
Bah. Thought as much. Oh well, thanks for the suggestions. :)
|
| All times are GMT -5. The time now is 08:28 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI