From e1fc111f060a40e294121b8558fc6c9752afce2d Mon Sep 17 00:00:00 2001 From: Dev-iL Date: Mon, 8 Jan 2018 10:49:14 +0200 Subject: [PATCH] Added support for styling uifigure objects (issue #10) --- mlapptools.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlapptools.m b/mlapptools.m index c2b7811..2afd2c5 100644 --- a/mlapptools.m +++ b/mlapptools.m @@ -124,7 +124,7 @@ function fontWeight(uiElement, weight) warnState = mlapptools.toggleWarnings('off'); widgetID = WidgetID('data-test-id', char(struct(uiElement).NodeId)); warning(warnState); % Restore warning state - case 'uipanel' + case {'uipanel','figure'} widgetID = WidgetID('data-tag', mlapptools.getDataTag(uiElement)); otherwise % default: widgetID = mlapptools.getWidgetID(win, mlapptools.getDataTag(uiElement));