private void HandleWindowResize(HtmlEvent args) { if (_ribbon.GetField <bool>("initStarted")) { return; } NativeUtility.RibbonScaleHeader((HtmlElement)Browser.Document.GetById("RibbonTopBarsElt"), false); }