AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
AUI Box Model

The AUI Box Model is layout structure for all types of AViews, which combines margin, padding, border, and background elements to create a visual container, defining the outer appearance of each AView as a rectangular block on-screen.

Box key components#

Comparison to CSS#

AUI shares principles with web technologies with some exceptions. In AUI:

  • border never affects layout
  • element's size includes padding, thus it differs from "content area"

AUI's box model is equal to CSS's "alternate box model", with an exception to border.