Investigate width of combobox dropdowns, especially for location search

Issue #540 resolved
Adam Winer created an issue

Location names after a reverse geocode lookup can be very long, and on Windows the dropdown is the width of the combobox.

Looks like this requires some hackery and experimentation, as Swing on Windows just doesn’t do this (rejected RFE - https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4618607). Here’s a couple of claimed hacks:

https://tips4java.wordpress.com/2010/11/28/combo-box-popup/

https://stackoverflow.com/questions/29057457/adjust-width-of-jcombobox-dropdown-menu

Comments (1)

  1. scythebill repo owner

    Resolve Issue #540: Investigate width of combobox dropdowns, especially for location search

    Haven't yet tested on Windows, but have tested on MacOS + Metal UI, which should be enough of a test (Windows still uses a subclass of BasicComboPopup at least as recently as Java 11)

    → <<cset 840df5715ba5>>

  2. Log in to comment