View Single Post
Unread 02-04-11, 11:19 AM   #10
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
No worries.

By way of example, if you go with rows = 5 and cols = 3 setting origin = "BOTTOMLEFT" and orientation = "VERTICAL" then the buttons would number like this...

Code:
[5] [10] [15]
[4]  [9] [14]
[3]  [8] [13]
[2]  [7] [12]
[1]  [6] [11]
.
If you change that to orientation = "HORIZONTAL" then the bars would fill like this...

Code:
[13] [14] [15]
[10] [11] [12]
 [7]  [8]  [9]
 [4]  [5]  [6]
 [1]  [2]  [3]
.
Change the origin to "BOTTOMRIGHT" and the numbers would reverse depending on the orientation...

Code:
[15] [10] [5]      or      [15] [14] [13]
[14]  [9] [4]              [12] [11] [10]
[13]  [8] [3]               [9]  [8]  [7]
[12]  [7] [2]               [6]  [5]  [4]
[11]  [6] [1]               [3]  [2]  [1]
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/

Last edited by spiel2001 : 02-04-11 at 11:23 AM.
spiel2001 is offline