A window is being drawn with its buttons aligned left (improperly). If the window frame is resized by dragging, the buttons auto-align to the center. If the window is simply moved or resized via App.MyWindow.setHeight(...) the buttons are not recalculated. The question is how to get a window and the components to recalc. ExtJs updateLayout() doesn't do it.