GtkSpinButton had a neat autosizing feature based on the limits of the adjustment. We lost that when the scale was ported to use just a box layout.
GTK 3 on the left, GTK 4 on the right:
To enable design management, you'll need to meet the requirements. If you need help, reach out to our support team for assistance.