Main Content

setMargin

Class: slmetric.dashboard.Group
Namespace: slmetric.dashboard

(To be removed) Specify distance from group edge to its contents

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.

Syntax

pixels = setMargin(Group,px)

Description

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

Version History

Introduced in R2018b

collapse all

R2022a: Metrics Dashboard will be removed

The Metrics Dashboard user interface, metricdashboard function, slmetric package API, and corresponding customizations will be removed in a future release. For more information, see Migrating from Metrics Dashboard to Model Maintainability Dashboard.