Compact Layout

The compact()-method combines several actions to make the most of the available workspace

Code

// file: hooks/patients-dv.js
new AppGiniDetailView().compact(true, false, true);

Parameters and default values
for compact-method

  • on: boolean = true
  • badges: boolean = true
  • movelinks: boolean = true
  • align: ButtonAlign = ButtonAlign.Center
    • ButtonAlign.Left
    • ButtonAlign.Center
    • ButtonAlign .Right

Comparison

More Images

Extra space for form fields

Extra space for tabs

Extra space at the top

...by moving the children-buttons into the tabs' toolbars.

Do you like it?