-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Open
Labels
component: renderingissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Milestone
Description
Describe the bug
If you pass a new text size to the theme the text on a warning bubble will resize but the warning bubble itself will not resize.

To Reproduce
Steps to reproduce the behavior:
- Load the following xml to the playground.
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_flow_statements">
<field name="FLOW">BREAK</field>
</block>
</xml>
- Open the warning.
- Use the text size slider to change the text size.
Expected behavior
The warning bubble should probably update its size automatically.
Here are a few ideas from @samelhusseini from here:
This one's a little tricky as icons don't have render loops.
- We could add render loops, and re-render on a theme change.
- reset visibility for warnings that are open. (ie: set to false, and back to true, which would dispose and recreate the bubble)
- close all warnings when we need to re-render the workspace.
Additional context
N/A
Metadata
Metadata
Assignees
Labels
component: renderingissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong