OSDN Git Service

Adjust hint feedback location
authorTor Norbye <tnorbye@google.com>
Sat, 15 Jan 2011 06:51:04 +0000 (22:51 -0800)
committerTor Norbye <tnorbye@google.com>
Sat, 15 Jan 2011 06:51:04 +0000 (22:51 -0800)
commitd54ec58b34097854e27027a70dd88af6535a413b
tree2e4d1e8292bfa385eef59227a970acc7f050baba
parent36e3d648bdada3818fc10a0753a2c6fb468d41ca
Adjust hint feedback location

When you select items in the relative layout, the layout attachments
are displayed below the canvas.

This changeset tweaks the positioning of these hints: they are
displayed to the right of the window (instead of below it) if the
canvas is taller than it is wide.

Change-Id: I7e12ed2f1749d4d3e529bab1a765b6a3279ca084
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/LayoutCanvas.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/SelectionOverlay.java