New submission from Michael Boldischar: Here is my code:
self._image_set_number = Spinbox(self._ramp_group, from_=0, to=999, command=self.reset_rep, format="%03.0f") self._repetition_change = Spinbox(self._ramp_group, from_=00, to=99, format="%02.0f") On Linux, the spinners behave as expected. There are always three digits in "_image_set_number" and two digits in "_repetition_change". The values are padded on the left by zeros. When I use the small arrows to increase the value, it works as expected. But, on Windows 7 64-bit, the small arrows do not behave as expected. They go up to "008" and then go back to "000" on the next click. Am I missing something or is this a bug in the the Windows version of Tkinter? ---------- messages: 216800 nosy: mboldisc priority: normal severity: normal status: open title: Python 2.7 Spinbox Format Behaves Differently On Windows Versus Linux _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21303> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com