Continue the position talk.

Continue the position talk.


Hi, Todd
I'll add them in the wiki in weekend. Since pbwiki.com is blocked in
China(by great firewall), I have to access it through Tor. It is
really hard for me to access it in my school. (Colleges and
universities in China have to use a special ISP controlled by the
government, and it's slow to access foreign web sites.)
I'll try to solve this by set a phproxy on my hosting(in U.S.A.
labs.cloudream.name is on it. not bad speed for you, right?).
- The menu/list should be able to open left
yes, the first picture is only showing some cases, not all.
- I'd actually break this into horizontal (left, centered, right) and
vertical (above, middle, below). For these, we should also be able to
pass in an offset value to accommodate visual stuff like borders and
padding -- this might cover everything in your matrix and more.
1|2|3
------
4|5|6
------
7|8|9
Do you mean this? the button is at 5.
- This same function should also work for positioning something like a
dialog so the browser window should be another thing we will typically
position to
I think I have another way to implement the positionTo utility now,
I'll draw another pic to intro it, and I think it's better than the "4
corners and directions" one, and I'll add this one in the wiki.
(quick intro: 9 points on container/button and 9 points on tooltip,
then pick one point from each, and align these two points. maybe you
mean this above?)
- If cursor position is used, you should be able to choose whether the
position is static (based on the x,y when called) or dynamic (tooltip
moves as you move cursor)
We can set an option, whether tooltip(the container) follow cursor
movement. Is this ok?