diff options
author | Felipe Heidrich <Felipe_Heidrich@ca.ibm.com> | 2011-07-27 13:55:35 -0400 |
---|---|---|
committer | Felipe Heidrich <Felipe_Heidrich@ca.ibm.com> | 2011-07-28 13:52:24 -0400 |
commit | 653f46bb7e4a7225699567343185867bfbac7bf2 (patch) | |
tree | db735886179ee47b6323419dc9b9a3dca6ea2f6a | |
parent | e796630fa1526efa73ea39f4bcae3c9b22a1d73f (diff) | |
download | eclipse.platform.swt-653f46bb7e4a7225699567343185867bfbac7bf2.tar.gz eclipse.platform.swt-653f46bb7e4a7225699567343185867bfbac7bf2.tar.xz eclipse.platform.swt-653f46bb7e4a7225699567343185867bfbac7bf2.zip |
Bug 345411 - Table.pack() makes column width too small by one pixel
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java index 5f28b56717..bbeaa14a17 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java @@ -387,7 +387,7 @@ RECT getBounds (int row, int column, boolean getText, boolean getImage, boolean TCHAR buffer = new TCHAR (parent.getCodePage (), string, false); int flags = OS.DT_NOPREFIX | OS.DT_SINGLELINE | OS.DT_CALCRECT; OS.DrawText (hDC, buffer, buffer.length (), textRect, flags); - rect.right += textRect.right - textRect.left + Table.INSET * 3 + 1; + rect.right += textRect.right - textRect.left + Table.INSET * 3 + 2; } } } |