Hi,
I have a small usability issue that I would like some help with. My application has a number of masked.ComboBox’es, The ‘choices’ strings for most are from a database with fields of 50 characters. Mostly the data in less than 20 characters and ideally I want to keep the size of the combobox to about the 20 to 30 characters. When selecting a choice made with more characters than the combobox has room to display, only the characters at the right side of the string are shown. This remains like this until either another field is clicked, or you scroll across, then the combobox shows the start on the string as desired. This seems the default behavior of both masked and not masked wx.ComboBox and is only noticeable on when string length > combo size
In the attached demo I’m using wx.UIActionSimulator() to simulate the desired behavior of the masked combobox (top one). To demonstrate select the ABCDE… string in the top box , then the bottom box. I can continue with the wx.UIActionSimulator() approach if needed however this introduces its own difficulties with mouse position. Any suggestions on a better way.
wx.version 3.0.2.0 msw (classic)
Thanks,Lawrie
test_masked_combo.py (1.46 KB)