Resizing a header image in Material Design

Ah, I tried it with a control panel, not a flow panel which does indeed work in both the IDE & the running app.

It’s still quite offset at runtime though. In the IDE :

.
.
Running :