-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Description
Describe the bug
The close icon do not appear when adding a new closable tab in the main area (TabPanel
).
To Reproduce
Create an extension which add a new widget in the main area, something like :
widget = new MainAreaWidget({content});
widget.id = 'new_widget';
widget.title.label = 'Courses';
widget.title.closable = true;
let w = app.shell.widgets('main').next() as TabPanel;
w.addWidget(widget);