Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: ZoomComboContributionItem does not treat Combo#setVisibleItemCount. Because of this, not all zoomings won't be displayed if more than 5 items are in the combo. ZoomComboContributionItem should automatically calculate the number of items, or it should have either "setVisibleItemCount" or "getCombo".
Do you prefer that we define new API, or would you rather just suggest a visible item count that makes sense for all GEF clients? I agree, the windows default of 5 is way too small, especially if you have 6 or 7 choices.
I prefer ZoomComboContributionItem automatically calculates current item size and set it to the combo so that all items are shown. This is because toolbar pulldown with a vertical scrollbar is terrible. I added three zoom level contributions (ZoomManager.FIT_*) and noticed this issue. I think at least 3 zoom levels must be provided, e.g. 50%, 100%, 200%, other than FIT_*. So, 6 or 7 choices are usual case :)