Open this page in the API Guide

ThemeDialog.onResize Method

This method should be called when the window re-sizes.