That does seem weird. Try to put this in the “OnInitialized” event instead and see if it works. Or you could try adding a very tiny delay… My guess is that there’s some quirk where the widgets don’t exist yet during the one frame where it is constructed.