Zebra API Doc

zebra.layout.getMaxPreferredSize()

getMaxPreferredSize

(
  • target
)
Object

Calculate maximal preferred width and height of children component of the given target component.

Parameters:


Return: Object

a maximal preferred width and height

   { width:{Integer}, height:{Integer} }