diff options
author | Felipe Heidrich | 2011-07-27 17:55:35 +0000 |
---|---|---|
committer | Felipe Heidrich | 2011-07-27 17:55:35 +0000 |
commit | e52152f77be1cc7518d934f5aa3f0bc7ae6ccc0e (patch) | |
tree | ee000c5eb8a7915ac780d19a0dd0d743917732d9 | |
parent | cb63f171d61d9dc3ee29c14bc7d93a645b045eb9 (diff) | |
download | eclipse.platform.swt-e52152f77be1cc7518d934f5aa3f0bc7ae6ccc0e.tar.gz eclipse.platform.swt-e52152f77be1cc7518d934f5aa3f0bc7ae6ccc0e.tar.xz eclipse.platform.swt-e52152f77be1cc7518d934f5aa3f0bc7ae6ccc0e.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; } } } |