On Wed, 6 May 2026 15:46:02 GMT, Ziad El Midaoui <[email protected]> wrote:

>> Fixed popup size not changing to show more items or less when changing the 
>> number of items in `ComboBox` by adding a `popupResize` variable which 
>> triggers a request layout when there is change in items list.
>> Tested with the test app in bug and MonkeyTester.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Ziad El Midaoui has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Fixed Scrollbar issue with CSS

While fixing https://bugs.openjdk.org/browse/JDK-8338145, I found the cause to 
be the fact that the popup did not have the right size computed before the 
first show. That is why the fix calls `sizePopup()` twice. Maybe this issue is 
related and somehow eliminates the need to call sizePopup() twice?

-------------

PR Comment: https://git.openjdk.org/jfx/pull/2052#issuecomment-4398295919

Reply via email to