Home Ext.NET - What to get it WRONG? - PART 2 - Layout
Post
Cancel

Ext.NET - What to get it WRONG? - PART 2 - Layout

Layout

Those are the questions I usually ask or got from my co-workers

  • Why this component doesn’t resize to fit browser’s size?
  • Why this field doesn’t fit to its parent?
  • Why GridPanel doesn’t fill with parent’s width?
  • In Column Layout, how to fill children with parent’s height?

To answer them, we need to understand how the layout works in Ext.NET first.

Viewport

Viewport oftens be used as a top parent component of the application. It could be re-sized automatically to fill the browser viewport, and be used to control the whole application’s layout.

Viewport is the top most level of layout component

This post is licensed under CC BY 4.0 by the author.

Ext.NET - What to get it WRONG? - PART 1 - Why we use it?

Ext.NET - What to get it WRONG? - PART 3 - DirectEvent