The wx.Choice() widget has 27 choices, some of which are _very_ long. When
a long choice is selected only the characters that fit in the window's width
are displayed, in the middle row of what appears to be a 5-row window
height. I would appreciate learning what the correct style specification (or
list formatting) should be. Here's the entire widget:
nodataList = [
'Value reported is the mean of two or more determinations.',
'Results based upon colony counts outside the acceptable
range.',
'Calculated. Value stored was not measured directly, but was
calculated from other data available.',
'Field measurement. Measurement activities conducted in the
field are reported separately from results obtained from samples.',
'Extra sample taken in compositing process.',
'In the case of species, F indicates Female sex.',
'Value reported is the maximum of two or more determinations.',
'Value based on field kit determination; results may not be
accurate.',
'The value reported is less than the practical quantitation
limit and greater than or equal to the method detection limit.',
'Estimated. Value shown is not a result of analytical
measurement.',
'Off-scale low. Actual value not known, but known to be less
than value shown. Not detected.',
'Off-scale high. Actual value not known, but known to be greater
than value shown. Above detection limit.',
'Presence of material verified, but not quantified. Indicates a
positive detection, at a level too low to permit accurate
quantification. In the case of temperature or oxygen reduction
potential, M indicates a negative value. In the case of species,
M indicates Male sex.',
'Presumptive evidence of presence of material.',
'Sampled for, but analysis lost. Accompanying value is not
meaningful for analysis.',
'Too numerous to count.',
'Sample held beyond normal holding time.',
'Significant rain in the past 48 hours. (Several characteristics
identify meteorological conditions at or near the time of
sampling)',
'Laboratory test.',
'Value reported is less than the criteria of detection.',
'Material was analyzed for, but not detected. Value stored is
the limit of detection for the process in use. In the case of
species, Undetermined sex.',
'Indicates the analyte was detected in both the sample and
associated method blank.',
'Value observed is less than the lowest value reportable under
remark above.',
'Value is quasi vertically-integrated sample.',
'Laboratory analysis from unpreserved sample. Data may not be
accurate.',
'Too many colonies were present to count (TNTC), the numeric
value represents the filtration volume.',
'Calculated by retrieval software. Numerical value was neither
measured nor reported to the database, but was calculated from
other data available during generation of the retrieval
report.']
lab = wx.StaticText(self, -1, "Missing data: ")
self.nodata = wx.Choice(self, -1, size=(500, 100),
style=wx.TAB_TRAVERSAL|wx.TE_PROCESS_ENTER|wx.RAISED_BORDER|wx.TE_MULTILINE|wx.TE_BESTWRAP, choices = nodataList)
self.Bind(wx.EVT_CHOICE, self.OnMissing, self.nodata)
Rich