Phoenix icon indicating copy to clipboard operation
Phoenix copied to clipboard

SpinCtrlDouble does not support persistance

Open cooked opened this issue 2 years ago • 3 comments

it seems that SpinCtrlDouble is preferred over FloatSpin, as it is the one actually available in wxformbuilder however SpinCtrlDouble is not listed in the controls supported by Persistence Manager

FEATURE REQUEST: add persistance to SpinCtrlDouble

cooked avatar May 27 '23 11:05 cooked

Where are you seeing the list of controls supported by Persistence Manager?

swt2c avatar Jun 08 '23 21:06 swt2c

Where are you seeing the list of controls supported by Persistence Manager?

https://docs.wxpython.org/wx.lib.agw.persist.html#persistent-overview

cooked avatar Jun 08 '23 23:06 cooked

This is because PersistentControls predates SpinCtrlDouble by a few years… that said, implementing support for it is super simple, given the existing implementations for SpinCtrl and FloatSpin.

I’m sure Robin would gladly accept a PR for this.

infinity77 avatar Jun 09 '23 06:06 infinity77