protected override void ResizeEvent(Qyoto.QResizeEvent e) { base.ResizeEvent(e); // FIXME: Seems "window.onresize" doesn't work, so we need to fake it. // Qt bug? base.Page().MainFrame().EvaluateJavaScript("windowDidResize()"); }
protected override void ResizeEvent(QResizeEvent arg1) { base.ResizeEvent(arg1); this.c_Browser.SetSizePolicy(QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Expanding); this.c_Browser.SetGeometry(0, 0, this.Width(), this.Height()); this.c_Browser.Resize(this.Width(), this.Height()); this.c_Browser.Update(); }
protected override void ResizeEvent(Qyoto.QResizeEvent arg1) { base.ResizeEvent(arg1); var geometry = QByteArrayConverter.ToArray(base.SaveGeometry()); var settingsService = ServiceManager.Get <SettingsService>(); settingsService.Set("ChatsWindowGeometry", geometry); }
protected override void ResizeEvent(QResizeEvent arg1) { interceptor.Invoke("resizeEvent#", "resizeEvent(QResizeEvent*)", typeof(void), typeof(QResizeEvent), arg1); }
public new virtual void ResizeEvent(QResizeEvent resize) { interceptor.Invoke("resizeEvent#", "resizeEvent(QResizeEvent*)", typeof(void), typeof(QResizeEvent), resize); }
protected override void ResizeEvent(Qyoto.QResizeEvent arg1) { base.ResizeEvent(arg1); SaveGeometry(); }