Skip to content

Commit 3d820fa

Browse files
hansonrhansonr
authored andcommitted
JSButtonUI.domNode needs position:absolute for y-translation
1 parent d81eb48 commit 3d820fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sources/net.sf.j2s.java.core/src/swingjs/plaf/JSButtonUI.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ public DOMNode updateDOMNode() {
9090
if (domNode == null) {
9191
setDoPropagate();
9292
domNode = enableNode = buttonNode = newDOMObject("button", id + "_dom", "type", "button");
93+
DOMNode.setPositionAbsolute(domNode);
9394
iconNode = null;
9495
createButton();
9596
}

0 commit comments

Comments
 (0)