Skip to content

Unable to style tab group header #12

@davidn-IA

Description

@davidn-IA

Grateful for all the attention to our issues so far. Here's one more. A small tweak in "getWebElements" allows the styling of the tab area of a tab group or the tab itself but not the headers using for example the following:

f = uifigure();
mlapptools.setStyle(f,'background','linear-gradient(red, pink, white)');
tg = uitabgroup(f);
mlapptools.setStyle(tg,'background','transparent');
mlapptools.setStyle(tg,'border-style','none');
t1 = uitab(tg);
mlapptools.setStyle(t1,'background','transparent');
mlapptools.setStyle(t1,'border-style','none');
txa = uitextarea(t1);
txa.Value = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.';
mlapptools.setStyle(txa,'border-style','none');
mlapptools.setStyle(txa,'background','transparent');

image

(sco1 edit: code formatting)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions