Category Archives: Layout Controls

Layout Controls: ItemsControl

The ItemsControl component is used to dynamically generate other UI controls. It does not place the elements on its own, it only creates them and adds them as children. The ItemsControl prefab uses a LayoutStackingPanel to manage the placement of … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: ItemsControl

Layout Controls: Tab Panel

The Tab Panel is a control that ensures only one of its children is visible at a time. It creates a button for each child that controls which child is visible – clicking one of these buttons will show the … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Tab Panel

Layout Controls: Scroll Viewer

The LayoutScrollViewer is intended to provide scrolling functionality for its children if they exceed the space available to them. Normally if a control’s minimum size is larger than the area available to it, it will squish up against the right … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Scroll Viewer

Layout Controls: LayoutTable

The LayoutTable places its children in rows and columns that can size themselves in various ways. A demo video can be found here. When a control is place in a table cell (defined by the row and column), it is … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: LayoutTable

Layout Controls: Stacking Panel

The Stacking Panel is the simplest of the layout controls. It just places each one of its children next to each other, one after the other. LayoutStackingPanel has two properties to edit besides the ones inherited from LayoutCapable. The first … Continue reading

Posted in Layout Controls | Comments Off on Layout Controls: Stacking Panel

NGUI Dynamic Layout Controls – Update

Over the last two weeks I’ve made some good progress on the layout controls for Unity using NGUI. I’m very close to having my old UIs completely replaced which means that I’m about ready to start polishing up everything and … Continue reading

Posted in Layout Controls, Unity | 3 Comments

Dynamic UI Layout in Unity using NGUI

I’ve spent a lot of time writing user interfaces using XAML. I loved (and hated) it. XAML has a ton of power and you can create some pretty amazing interfaces with creative use of the controls Microsoft have provided in … Continue reading

Posted in Layout Controls, Unity | 4 Comments