summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt
diff options
context:
space:
mode:
authorGrant Gayed <ggayed>2008-10-10 19:41:42 +0000
committerGrant Gayed <ggayed>2008-10-10 19:41:42 +0000
commitb262826025ade83d3312b1288f2bdc6272c62555 (patch)
tree3de550c7009233e13e48299c218837aa0969ec44 /bundles/org.eclipse.swt
parent999608753519429da85194eacbf8835192edb695 (diff)
downloadeclipse.platform.swt-b262826025ade83d3312b1288f2bdc6272c62555.tar.gz
eclipse.platform.swt-b262826025ade83d3312b1288f2bdc6272c62555.tar.xz
eclipse.platform.swt-b262826025ade83d3312b1288f2bdc6272c62555.zip
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java2
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java
index 3ef6f90b92..42e6a57a94 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java
@@ -788,7 +788,7 @@ void drawInteriorWithFrame_inView (int /*long*/ id, int /*long*/ sel, int /*long
fullRect.width = item.customWidth;
} else {
NSSize contentSize = cell.cellSizeForBounds (rect);
- fullRect.width = (int)Math.ceil (contentSize.width);
+ fullRect.width = contentSize.width;
}
} else {
NSSize spacing = tableView.intercellSpacing ();
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
index 2169a9da28..cd86be420e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
@@ -820,7 +820,7 @@ void drawInteriorWithFrame_inView (int /*long*/ id, int /*long*/ sel, int /*long
fullRect.width = item.customWidth;
} else {
NSSize contentSize = cell.cellSizeForBounds (rect);
- fullRect.width = (int)Math.ceil (contentSize.width);
+ fullRect.width = contentSize.width;
}
} else {
NSSize spacing = outlineView.intercellSpacing ();