Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #137

Control Width/Height return 0 during Window.Opening before layout

Status
Fixed
Fixed in
v26.5.5
Source discussion
https://forum.objo.dev/d/66-add-control-in-event-opening-doesnt-update-control-information-correctly
Last updated
2026-05-21

Public summary

Controls created and added during Window.Opening() can report Width = 0 and Height = 0 when read immediately, even though the control has documented default dimensions. For example, New Button should create an 80x30 button, but Print(c0.Width, c0.Height) in the window Opening() event prints 0 0. The same read works later in Opened(), after layout has run.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.