Setting -width to 0 on a ttk::spinbox (Windows version) sets its entry field to only show 1 character, instead of allowing as many characters as possible in the available space (as in the ttk::entry/spinbox case). Linux handles this correctly.
To illustrate where this is a problem, I'm putting a spinbox inside a cell of a treectrl table. The columns may be resized. Narrow colums clip the spinbox buttons off when the width is at its default (20). Make the width too small and risk masking out too much. As a workaround, I use wcb/bind to change the width as required to match the content width.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To illustrate where this is a problem, I'm putting a spinbox inside a cell of a treectrl table. The columns may be resized. Narrow colums clip the spinbox buttons off when the width is at its default (20). Make the width too small and risk masking out too much. As a workaround, I use wcb/bind to change the width as required to match the content width.