Oct 15, 2014, 11:49 PM
[CLOSED] Initially maximized window does not restore to fixed size
In the desktop module windows with Hidden=True and Maximized=True do not restore to the fixed sizes set in the window. If Hidden= false the window will restore to the correct size but obviously shows as soon as the desktop is loaded. I would imagine the Hidden=true should work the same as the not Hidden window but as a workaround is it better to open the window normally and then maximize in code, or listen to the restore and override the height & width?
@(
Html.X().Window()
.ID("WindowTest")
.Width(1000)
.Height(500)
.Maximizable(true)
.Maximized(true)
.Hidden(false)
.Items(Html.X().Label().Text("Window Hidden False"))
)
@( Html.X().Window()
.ID("WindowTest2")
.Width(1000)
.Height(500)
.Maximizable(true)
.Maximized(true)
.Hidden(true)
.Items(Html.X().Label().Text("Window2 Hidden True"))
)
@(Html.X().DesktopModuleProxy().Module(
Html.X().DesktopModule()
.ModuleID("WindowTestmod")
.Shortcut(
Html.X().DesktopShortcut()
.Name("open")
.Handler("App.WindowTest.show(this);")
)
)
)
Last edited by Daniil; Oct 22, 2014 at 8:28 AM.
Reason: [CLOSED]