Below is the markup that I use to render the EXT.NET container containing the precast panel (west) and another panel containing my content (center).
How to make it resizable when I resize my browser?
it doesnβt currently resize, since I specified the width and height, and if I do not specify Width and Height , it does not show me anything, it shows an empty one.
@Html.X().Container().Layout(LayoutType.Border).Width(500).Height(300).Items( Html.X().Panel() .ID("Panel1") .Region(Region.West) .AutoDoLayout(true) .Collapsible(true).Border(true).Title("West Panel").Items( Html.X().Label().Text("Item 1"), Html.X().Label().Text("Item 2") ), Html.X().Panel().ID("Panel2").Region(Region.Center).Title("Center") )
EDIT: I can't use ViewPort as distracting my layout
source share