Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用する主な理由wx.SpinCtrlは、ユーザーが整数を入力するように制限することです。したがって、その中のテキストは、右揃えにすると見栄えが良くなると思います。
wx.SpinCtrl
wxPythonでこれを行う方法はありますか?
実際には、使用できるコントロールがあります。これは FloatSpin と呼ばれ、agw サブライブラリにあります。まだ持っていない場合は、wxPython デモをダウンロードしてチェックしてください!