Skip to content

Unable to set background gradient for uifigure #10

@davidn-IA

Description

@davidn-IA

This may seem like pure greed to want to be able to do it, but it would be terrific if it were possible. Something like this fails (edit: W10, 2017b):

mlapptools.setStyle(uifigure(),'background','linear-gradient(red, pink, white)')
Warning: This widget is unsupported.

In mlapptools/getWidgetID (line 386)
In mlapptools.getWebElements (line 130)
In mlapptools.setStyle (line 238)
Output argument "ID_obj" (and maybe others) not
assigned during call to "mlapptools/getWidgetID".
Error in mlapptools.getWebElements (line 130)
widgetID = mlapptools.getWidgetID(win,
mlapptools.getDataTag(uiElement));
Error in mlapptools.setStyle (line 238)
[win, ID_obj] =
mlapptools.getWebElements(hControl);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions