Skip to content

Commit 14c1141

Browse files
author
zhourenjian
committed
Show maximized title bar in a short delay so that IE has time to do layout.
1 parent 945ea09 commit 14c1141

File tree

1 file changed

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

1 file changed

+4
-2
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1761,8 +1761,10 @@ public void setMaximized (boolean maximized) {
17611761
if (toUpdateMax)
17621762
/**
17631763
* @j2sNative
1764-
* ShellManager.topbarContainerEl.style.display = "block";
1765-
* ShellManager.updateTopMaximized ();
1764+
* window.setTimeout (function () {
1765+
* ShellManager.topbarContainerEl.style.display = "block";
1766+
* ShellManager.updateTopMaximized ();
1767+
* }, 250);
17661768
*/ {}
17671769
} else {
17681770
setBounds(oldBounds);

0 commit comments

Comments
 (0)