Skip to content

Commit 6084c26

Browse files
committed
Added special treatment for uipanel objects
This addresses issue #9.
1 parent bc351ea commit 6084c26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlapptools.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ function fontWeight(uiElement, weight)
122122
p.expand(); % The row must be visible to apply changes
123123
end
124124
widgetID = WidgetID('data-test-id', char(struct(uiElement).NodeId));
125+
case 'uipanel'
126+
widgetID = WidgetID('data-tag', mlapptools.getDataTag(uiElement));
125127
otherwise % default:
126128
widgetID = mlapptools.getWidgetID(win, mlapptools.getDataTag(uiElement));
127129
end

0 commit comments

Comments
 (0)