EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 03-13-2005, 09:51 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default UI Builder alignment functions

The alignment functions buttons are always disabled for me. I've never ever seen them be available to use. Anyone have this problem, is it just a setting that I'm missing?
Reply With Quote
  #2  
Unread 03-13-2005, 11:07 AM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

Hold down the "shift" key and select objects useing the mouse, then you will see them enable... The last object selected is the one that evrything else will size/align to

__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #3  
Unread 03-13-2005, 11:42 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by Laffs
Hold down the "shift" key and select objects useing the mouse, then you will see them enable... The last object selected is the one that evrything else will size/align to

I do that all the time, but the buttons are always'grey'
Guess I'm doing it wrong, I'll have to experiment with that again.
Reply With Quote
  #4  
Unread 03-13-2005, 11:58 AM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

I usualy select things from within the left hand pane, But far as I know it dont matter what pane you use lol..

As of lastnight the window options panel was bugged in game, part of the window frame was fading and the rest was not, the scollbar was visible all the time... I thought it was an alignment issue with my custom windows but I loaded the default UI up and managed to break the windows on there the same way!

So if your playing with windows in the builder and they dont apear properly in game bear that in mind
__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #5  
Unread 03-18-2005, 12:05 PM
Anakreon Anakreon is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 23
Default

What about the centering icons, same process to enable them as well?
Reply With Quote
  #6  
Unread 03-18-2005, 12:30 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

Quote:
Originally Posted by Anakreon
What about the centering icons, same process to enable them as well?
Yes, and the same for the height/width equalization and vertical/horizontal distribution functions.
__________________
Reply With Quote
  #7  
Unread 03-18-2005, 02:43 PM
Azoz Azoz is offline
A Sea Turtle
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Unrest
Posts: 30
Default UIbuilder version?

Do you have the newest UIbuilder version (released in last or next to last patch) I had the same problem until I started using the new version.
__________________
don't read me!
Reply With Quote
  #8  
Unread 03-18-2005, 02:56 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Aye, it was User ERROR~!

The Buttons didn't change thier visual appearance enough for me to realize they were enabled.
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #9  
Unread 03-18-2005, 06:33 PM
Laffs's Avatar
Laffs Laffs is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Runnyeye
Posts: 1,404
Default

Perhaps all that bright ginger hair on you toon has made your eyes go funny lmao j/k
__________________
Laffs UI Mods
I can only please one person per day. Today is not your day. Tomorrow doesn't look to good either !
(Wicann on Runnyeye)
Reply With Quote
  #10  
Unread 03-21-2005, 01:13 AM
Anakreon Anakreon is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 23
Default

I figured I could throw this into here as it deals with these and creating another thread seemed pointless.
How come when I use the "Distribute evenly" buttons it will distribute the icons horizontaly much farther out than my window actually expands, and then when i ask it to do it vertically it makes a sweet diagonal line of them... Hopefully somebody else has experienced something similar and knows the absolute awesome reasoning behind it.
Reply With Quote
  #11  
Unread 03-21-2005, 02:18 AM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by Anakreon
I figured I could throw this into here as it deals with these and creating another thread seemed pointless.
How come when I use the "Distribute evenly" buttons it will distribute the icons horizontaly much farther out than my window actually expands, and then when i ask it to do it vertically it makes a sweet diagonal line of them... Hopefully somebody else has experienced something similar and knows the absolute awesome reasoning behind it.

I've not used them much, but it's probably going to wind up being the setting for the parent window, or some other property that is causing them to do that.
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
Reply With Quote
  #12  
Unread 03-21-2005, 07:27 PM
Anakreon Anakreon is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 23
Default

The parent window would be groupmembers, and the window within that i'm trying to distribute values throughout is the same width as the group window... so that doesn't really make too awful much sense. Plus the diagonal thing is just wacky.
Reply With Quote
  #13  
Unread 03-21-2005, 11:05 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

Quote:
Originally Posted by Anakreon
The parent window would be groupmembers, and the window within that i'm trying to distribute values throughout is the same width as the group window... so that doesn't really make too awful much sense. Plus the diagonal thing is just wacky.
The diagonal makes sense. All distribute does is tell UIBuilder to make the space between the selected objects the same, but to retain the left and right/top and bottom points as closely as possible (you'll lose a couple pixels if the total space to be distributed isn't divisible by the number of elements.)

So, say I have 5 elements A-E each 10x10. A is at 0,0 E is at 100,100. I tell UIBuilder to space them evenly horizontally, and it does. I now have 5 elements with exactly 10 pixels between them horizontally.

Next I tell UIBuilder to distribute them vertically. Again it equalizes the space between each element. So I now have 5 elements with 10 pixels between them vertically as well as horizontally.

Since UIBuilder is keeping the top/left and bottom/right points the same, that spacing ends up forcing the items into a diagonal slope. Usually you'll only want to distribute elements along one axis, along the other you'll want to use align-to-top/bottom/right/left/center. (Unless, I suppose, you're trying to make a grid, in which case I could see using distribute to get the top row and the left row spaced right, then use align-to-left/top to get the other rows to fall into place.)
__________________
Reply With Quote
  #14  
Unread 03-22-2005, 08:58 PM
Anakreon Anakreon is offline
A Crazed Gnoll
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Antonia Bayle
Posts: 23
Default

Thanks a ton Ger. That was extremely enlightening... just one more question(I hope):
So you're saying that it will distribute them evenly to the best of its abilities between the first and the last one that I selected? So I would have to put point A at the far left of the window, and then point E at the far right, then align horizontally to achieve the desired effect? Also, will this still work if the items have different sizes?
Reply With Quote
  #15  
Unread 03-22-2005, 09:54 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

Quote:
Originally Posted by Anakreon
Thanks a ton Ger. That was extremely enlightening... just one more question(I hope):
So you're saying that it will distribute them evenly to the best of its abilities between the first and the last one that I selected? So I would have to put point A at the far left of the window, and then point E at the far right, then align horizontally to achieve the desired effect? Also, will this still work if the items have different sizes?
I haven't tested it by selecting items out of order, so I'm not sure about that. As far as spacing elements of different sizes goes, it should work, but again, I've never tried it.
__________________
Reply With Quote
  #16  
Unread 03-25-2005, 09:43 AM
Zonx's Avatar
Zonx Zonx is offline
A Green Troll
This person is a EQ2Map developer.
Featured
 
Join Date: Dec 2004
Server: Blackburrow
Posts: 2,221
Default

Objects are positioned left to right and top to bottom in the order selected. If, for instance, you select the following objects

A B C D

in revers alpha order and hit distribute horizontal, it will revers their order during the alignment, resulting in:

D C B A

Selection order can be altered by re-clicking an already selected item. For example if you select the following:

A B C D B

and hit distribute horizontal, you get

A C D B
By re-clicking "B", you moved it forward in the selection order, telling distribute to place it last.

Same deal for vertical distribution, with earliest object selected moved to the top, last selected moved to bottom.

Edit: UIBuilder's ditribute is based off neighboring edges. Objects of differing sizes will have the space between them equalized. The space between their center points will vary depending on their sizes.

There doesn't appear to be any way to get centerpoint distribution.

Last edited by Zonx : 03-25-2005 at 09:59 AM.
Reply With Quote
  #17  
Unread 03-25-2005, 12:20 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by Zonx
Objects are positioned left to right and top to bottom in the order selected. If, for instance, you select the following objects

A B C D

in revers alpha order and hit distribute horizontal, it will revers their order during the alignment, resulting in:

D C B A

Selection order can be altered by re-clicking an already selected item. For example if you select the following:

A B C D B

and hit distribute horizontal, you get

A C D B
By re-clicking "B", you moved it forward in the selection order, telling distribute to place it last.

Same deal for vertical distribution, with earliest object selected moved to the top, last selected moved to bottom.

Edit: UIBuilder's ditribute is based off neighboring edges. Objects of differing sizes will have the space between them equalized. The space between their center points will vary depending on their sizes.

There doesn't appear to be any way to get centerpoint distribution.

Zonx that is exellent, can you post that in the 'things I wish I had know earlier' post for the UI Buidler? So it can be put in the FAQs
__________________
Kosmos
Qeynos Ranger (Retired)
Lucan D'Lere
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 12:35 PM.


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