// make sure the root is properly sized
do {
abort = false;
- root.repack();
+ root.pack();
if (syncRootBoxToSurface) {
root.setMaxWidth(JS.N(pendingWidth));
root.setMaxHeight(JS.N(pendingHeight));
dirty(0, root.maxheight - Main.scarImage.height, Main.scarImage.width, Main.scarImage.height);
}
root.resize(root.x, root.y, root.maxwidth, root.maxheight);
- root.place_children();
+ root.place();
setSize(root.width, root.height);
/*String oldcursor = cursor;
cursor = "default";