Skip to content

Commit

Permalink
Added support for styling uifigure objects (issue #10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-iL committed Jan 8, 2018
1 parent 947c54e commit e1fc111
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlapptools.m
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit e1fc111

Please sign in to comment.