| Author |
Message |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Aug 21, 2013 10:43 PM Post subject: Order of position in Toolbar |
|
Hi Jarek,
assume I give two elements in the toolbar the same integer for toolbar position.
How is it detemined which ones gets placed first (more to the left) ? Is there any general rule to this?
This is relevant because I have global toolbars which sometimes need an extra element from a local design on a certain spot. Sure I could change everything but this will take a lot of time.
Can I enter non-integer numbers the get the wanted position?
Marius |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1073
|
Posted: Aug 21, 2013 11:05 PM Post subject: |
|
If the number is the same, then the position will be random. There is no rule. It depends on the order of elements saved in a design.
Numbers must be integers. But they do not have to be continuous. For example 2 elements may have values 5 and 266, and they will work the same as they had values 1 and 2. So in that respect you may use fraction numbers by assigning large values to main elements (e.g. 100, 200, 300) and then use smaller increments to insert between (101, 102, etc). |
|
 |
Marius
Joined: Jun 10, 2013 Posts: 51
|
Posted: Aug 21, 2013 11:07 PM Post subject: |
|
Ok I feared it would be that way. This means many changes because so far everything was done in increments of 1.
Maybe one last cop-out: \"the order of elements saved in a design?\" can I somehow use that to get a reproducable position? |
|
 |
jarek
Joined: Oct 22, 2007 Posts: 1073
|
Posted: Aug 21, 2013 11:12 PM Post subject: |
|
| Not really. That order can change at any time. You need to organize the index numbers. They were created for that reason. |
|