enableLegacyPadding
Description
enableLegacyPadding(
slightly decreases the
padding around the title and inside borders of the specified panel.p
)
In most cases, you do not need to use this function. By default, legacy padding is
enabled for panels in figure
-based apps and disabled for panels in
uifigure
-based apps. If you update an app to use
uifigure
and notice a panel in the app has clipped components,
enableLegacyPadding
updates the spacing of panel elements to match
that of panels in figure
-based apps.
enableLegacyPadding(
updates the padding
of all the panels contained in the specified figure.fig
)
Examples
Input Arguments
Version History
Introduced in R2025a