Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 126613 Details for
Bug 266025
Text is clipped while direct editing a label
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
proposed patch
TextUtils (text/plain), 1.83 KB, created by
Alex Boyko
on 2009-02-24 15:58:34 EST
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Alex Boyko
Created:
2009-02-24 15:58:34 EST
Size:
1.83 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.gmf.runtime.draw2d.ui >Index: src/org/eclipse/gmf/runtime/draw2d/ui/text/TextUtilitiesEx.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.gmf/plugins/org.eclipse.gmf.runtime.draw2d.ui/src/org/eclipse/gmf/runtime/draw2d/ui/text/TextUtilitiesEx.java,v >retrieving revision 1.1.2.1 >diff -u -r1.1.2.1 TextUtilitiesEx.java >--- src/org/eclipse/gmf/runtime/draw2d/ui/text/TextUtilitiesEx.java 10 Dec 2008 21:14:37 -0000 1.1.2.1 >+++ src/org/eclipse/gmf/runtime/draw2d/ui/text/TextUtilitiesEx.java 24 Feb 2009 20:57:04 -0000 >@@ -1,5 +1,5 @@ > /****************************************************************************** >- * Copyright (c) 2007, 2008 IBM Corporation and others. >+ * Copyright (c) 2007, 2009 IBM Corporation and others. > * All rights reserved. This program and the accompanying materials > * are made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -63,7 +63,7 @@ > * Gets a string's extents, converted by the mapmode > */ > public Dimension getStringExtents(String s, Font f) { >- Dimension extents = new Dimension(getStringDimension(s, f, true)); >+ Dimension extents = new Dimension(getStringDimension(s, f, false)); > applyItalicBugHack(s, f, extents); > applyMapModeConversion(extents); > return extents; >@@ -73,7 +73,7 @@ > * Gets text's extents, converted by the mapmode > */ > public Dimension getTextExtents(String s, Font f) { >- Dimension extents = new Dimension(getTextDimension(s, f, true)); >+ Dimension extents = new Dimension(getTextDimension(s, f, false)); > applyItalicBugHack(s, f, extents); > applyMapModeConversion(extents); > return extents;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 266025
: 126613