This initially itemHeight is calculated based on the default font (when no specific font is defined) when EDITING this widget. Under my Windows this is something like 24 pixels.
When going to OS/2 (ok, ok - ) this will bring us partially displayed rows - because here the default itemHeight is 28. I have not checked this with Unix ...
To get rid of this behaviour one should set this value again in a "initializeWindow" method like:
- Code: Select all
initializeWindow
(self subpartNamed: 'listBoxKnownDomains') itemHeight: nil
As an alternative the developers opens the property window of that container widget and deleted the value found there for itemHeight - then the above procedure will be executed in the "abtBuildInternals" method.
I think that the better behaviour would be, that the property itemHeight is NOT initiallay set by the CompositionEditor.