Skip to content

Commit 370be14

Browse files
author
zhourenjian
committed
Fixed a bug that CoolBar is not displaying its content correctly.
1 parent 034ff6e commit 370be14

File tree

1 file changed

+3
-3
lines changed
  • sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets

1 file changed

+3
-3
lines changed

sources/net.sf.j2s.java.org.eclipse.swt/src/org/eclipse/swt/widgets/CoolBar.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1563,9 +1563,9 @@ protected boolean SetWindowPos(Object hWnd, Object hWndInsertAfter, int X, int Y
15631563
} else {
15641564
item.control.setSize(ww, bounds.height);
15651565
}
1566-
Point pt = item.getPosition();
1567-
item.control.left = pt.x + 9;
1568-
item.control.top = pt.y;
1566+
// Point pt = item.getPosition();
1567+
// item.control.left = pt.x + 9;
1568+
// item.control.top = pt.y;
15691569
}
15701570
itemNo++;
15711571
}

0 commit comments

Comments
 (0)