Feedback
Canvas runtime geometry changes are not preserved by resize locks
- Status
- Fixed
- Fixed in
- v26.5.6
- Source discussion
- https://forum.objo.dev/d/97-bug-canvas-write-properties-in-runtime
- Last updated
- 2026-05-24
Public summary
When a Canvas is resized in code at runtime, subsequent window resizes can make the Canvas snap back to a size derived from its original designer geometry. In the reported project, Canvas1 is saved as a 200 x 200 control but is stretched to the window size in Window.Opened. The first paint fills the window blue, but after dragging the window larger the blue area only covers a square in the top-left instead of the full window.
Expected behaviour: runtime changes to Left, Top, Width, Height, and resize-lock settings should become the new baseline used by the window resize-lock system.