-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Update title in AccordionPanel #249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @hbcarlos
The logic is not the same than the one in the tab bar or the menu bar. But in this case it sounds better as the title are not rendered in a separated container as the previous case.
I added a comment in the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks @hbcarlos
@hbcarlos, can you please add tests to the existing |
Sure! I'm on it! |
@blink1073 What test should I add to the layout? |
The panel should be enough, it is exercising the layout under the hood. Thank you! |
Solves #248
I'm not sure if this is the right way of updating the title.
I'm not clearing the signals in the
dispose
method because it's done in the parent class Widget.Code changes
This PR adds a new handler to listen for changes in the titles of the accordion panel's children and replaces the corresponding title's HTMLElement.