Community
Participate
Working Groups
Created attachment 83952 [details] CCombo expand problem Build ID: M20070212-1330 Steps To Reproduce: Expanding a CCombo component generates that the width of the list component is as wide as the CCombo or as wide as the widest entry in the list (whatever is wider). There is currently no API to control this. The size of the list is calculated in the internalLayout() method of the CCombo and this is a private method.
We should start with the patch in bug 99718 comment 6. Then we need to figure out exactly what native Combo is doing, i.e. is it really setting the width to match the 2nd longest item string? What if there are 2 really long entries - does it use the 3rd-longest string's width? Maybe it has some other heuristic? Whatever native Combo is doing with width seems to make people happy. So CCombo should try to emulate that. Then, I don't think we would need new API to set the list width.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.