Closed PavelTurk closed 1 month ago
It's a JavaFX bug. If it was AtlantaFX, the popup position will be wrong every time you open it.
/* this reproduces same behavior with Modena*/
.combo-box-popup .list-cell {
-fx-padding: 0 10 0 10;
}
If someone has the same problem see the issue I opened - https://bugs.openjdk.org/browse/JDK-8338145
Run the following code:
And you will get this result:
As you see when you click it the fist time, then there is a space between the comboBox and items. The size of this space depends on the font size. At the same time, when you click the second time, then there is no such space.
When I use pure JavaFX (without atlantafx), then everything is OK: