Skip to content

Conversation

@Dev-iL
Copy link
Member

@Dev-iL Dev-iL commented Jan 9, 2018

Exciting changes, no doubt :)

Dev-iL added 3 commits January 9, 2018 12:14
- Made the internal documentation more accurate.
Also:
- Some fixes to indentation.
- Minor internal comment modifications.
- Added a warning to getWidgetInfo().
These methods should allow customization of "difficilt-to-find-handles-to" DOM nodes, such as a tablist.

The private `establishIdentities` method tries to generate WidgetID objects for a list of elements by using a list of attributes known (assumed?) to be unique.

Addresses StackOverflowMATLABchat#12.
@Dev-iL Dev-iL merged commit e381f01 into StackOverflowMATLABchat:develop Jan 10, 2018
@davidn-IA
Copy link

Fantastic addition indeed, as has been the case with all the recent changes. Any thoughts on getting rid of the bit of border leftover here? (not sure it's something we'd need, but playing around with a "clean" look...). Also bits of border hang around when tabs are transparent.

image

tg = uitabgroup(uifigure());
uitab(tg);
[win, widgetID] = mlapptools.getWebElements(tg);
[childIDs] = mlapptools.getChildNodeIDs(win, widgetID);
mlapptools.setStyle(win,'background','transparent',childIDs(2));
mlapptools.setStyle(tg,'border-style','none');
[childIDs] = mlapptools.getChildNodeIDs(win, childIDs(2));
mlapptools.setStyle(win,'background','green',childIDs(4));

(W10, 2017b)

@Dev-iL
Copy link
Member Author

Dev-iL commented Jan 10, 2018

@davidn-IA you should set the border-top of the tab (<div> with id=uniqName_106_0Wrapper) to none.

[win, widgetID] = mlapptools.getWebElements(tg);
[childIDs] = mlapptools.getChildNodeIDs(win, widgetID);
mlapptools.setStyle(win,'border-top','none',childIDs(1));

@Dev-iL Dev-iL deleted the experimental branch August 5, 2018 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants