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: