https://linen.dev logo
```haxe removeChild(dropdown); removeChild...
# openfl
b
Copy code
haxe
removeChild(dropdown);
        removeChild(fixDescription);
        dropdown.y = description.y + description.textHeight + 20;
        dropdown.width = Math.min(110, w - SIDEBAR_WIDTH - 10) + 10;

        fixDescription.x = Math.min(110, w - SIDEBAR_WIDTH - 10) + 15;
        fixDescription.y = dropdown.y;
        fixDescription.width = Math.max(180, w - SIDEBAR_WIDTH - dropdown.x - fixDescription.width);
        fixDescription.height = fixDescription.textHeight + 4;
        addChild(dropdown);
        addChild(fixDescription);
this piece of code is triggered whenver the window is resized