Andres #1 (GadgetWidth(window) - ClientWidth(window)) / 2(GadgetHeight(window) - ClientHeighth(window)) / 2Aren't these basically the same?