In certain conditions, I have pre-filled fields with something similar to my_field.setText(my_text). But when doing so, the label is not pushed at the top like when writing in an empty field.
PS: manually deleting pre-filled content to add it back works.