-
Notifications
You must be signed in to change notification settings - Fork 219
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
Changing icon dynamically does not work for tabs #1501
Comments
Hi, Could you please attach a demo project that illustrates the issue or at least the complete UI controller class? |
Here is a minimal project to reproduce it with a hack to have the icons updated Changing the icon does not seem to refresh the display (nor in the postinit, nor in reaction to a button click). Removing and adding back the tabs to the tabsheet does show the correct icon though. Thanks for your help and your reactivity! |
Unfortunately, it is not that easy to fix this without breaking backward compatibility. For now you can use Tab API to change icon dynamically:
|
Environment
Description of the bug or enhancement
On a generic UI, add a tabsheet with one tab and a button.
in the postInit() of the controler do something like:
Expected result: both the tab and the button has the "bookmark" icon.
Current result: Only the button get's the bookmark Icon
If I set an icon from the Studio (ex question mark), the tab shows the question mark icon but not the bookmark, so looks like it is not updated.
The text was updated successfully, but these errors were encountered: