This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Class: slmetric.dashboard.Group
Package: slmetric.dashboard

Specify distance from group edge to its contents


pixels = setMargin(Group,px)


pixels = setMargin(Group,px) specifies how far in pixels the edges of an slmetric.dashboard.Group object is from the widgets that it contains.

Input Arguments

expand all

The slmetric.dashboard.Group object for which you are specifying margin size in pixels.

Data Types: char

Margin distance from group contents in pixels.

Example: '40 px'

Data Types: char

Introduced in R2018b