diff options
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/gscripts/BaseView.groovy')
-rwxr-xr-x | eclipse/plugins/com.android.ide.eclipse.adt/gscripts/BaseView.groovy | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/BaseView.groovy b/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/BaseView.groovy index 9c5b52f..7241a6b 100755 --- a/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/BaseView.groovy +++ b/eclipse/plugins/com.android.ide.eclipse.adt/gscripts/BaseView.groovy @@ -313,9 +313,8 @@ public class BaseView implements IViewRule { return; } - gc.useStyle(DrawingStyle.SELECTION_FILL); + gc.useStyle(DrawingStyle.SELECTION); gc.fillRect(r); - gc.useStyle(DrawingStyle.SELECTION_BORDER); gc.drawRect(r); if (displayName == null || isMultipleSelection) { @@ -327,7 +326,9 @@ public class BaseView implements IViewRule { if (ys < 0) { ys = r.y + r.h; } - gc.drawString(displayName, xs, ys); + gc.useStyle(DrawingStyle.HELP); + gc.drawBoxedStrings(xs, ys, [displayName]); + } public void onChildSelected(IGraphics gc, INode parentNode, INode childNode) { |