Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Close icon is not displayed on new tab #6476

Closed
brichet opened this issue Jul 19, 2022 · 0 comments · Fixed by #6477
Closed

Close icon is not displayed on new tab #6476

brichet opened this issue Jul 19, 2022 · 0 comments · Fixed by #6477
Labels
Milestone

Comments

@brichet
Copy link
Contributor

brichet commented Jul 19, 2022

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);

Expected behavior
Have a close symbol on the tab, like :
image

Screenshots
Currently the result is :
image

@brichet brichet added the bug label Jul 19, 2022
@jtpio jtpio added this to the 7.0 milestone Jul 19, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants