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 133090 Details for
Bug 273569
[TableEditor] arithmetical flaw in computeBounds
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch against linux GTK version
TableEditor-patch.txt (text/plain), 731 bytes, created by
Ralf Sternberg
on 2009-04-24 06:12:56 EDT
(
hide
)
Description:
Patch against linux GTK version
Filename:
MIME Type:
Creator:
Ralf Sternberg
Created:
2009-04-24 06:12:56 EDT
Size:
731 bytes
patch
obsolete
>--- org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/TableEditor.java 2009-04-24 11:56:07.000000000 +0200 >+++ org.eclipse.swt.gtk.linux.x86/src/org/eclipse/swt/custom/TableEditor.java 2009-04-24 11:57:28.000000000 +0200 >@@ -111,8 +111,10 @@ > if (item == null || column == -1 || item.isDisposed()) return new Rectangle(0, 0, 0, 0); > Rectangle cell = item.getBounds(column); > Rectangle rect = item.getImageBounds(column); >- cell.x = rect.x + rect.width; >- cell.width -= rect.width; >+ if (rect.width > 0) { >+ cell.width -= rect.width + rect.x - cell.x; >+ cell.x = rect.x + rect.width; >+ } > Rectangle area = table.getClientArea(); > if (cell.x < area.x + area.width) { > if (cell.x + cell.width > area.x + area.width) {
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 273569
: 133090