Up/Down Control size is different to designer size

I have a dialog with up/down controls. The sizes in the designer (upper part of image) are different to the sizes of the controls in the loaded dialog (lower part of screenshot). If they are not set to up/down, the sizes of designer and running dialog match.

You need to define the max value in the designer to a value low enough that it will fit a small size text edit.

EDIT: With a new value, larger than what the predefined size could allow, the edit box is getting larger.

I guess that default (0) is interpreted as "can go up to a large number"

Its not the "maximum value" (which defines what value can be typed/chosen at max) but it is "max length". Thx. But still weird that the desinger differs from the actual result.

It is the maximum value, not the max length.