jfxtras-styles
jfxtras-styles copied to clipboard
ChoiceBox - width initially is smaller than its contents
I add a number of text items to a ChoiceBox, but when the stage is shown, the width is not correctly calculated. Only after clicking on the ChoiceBox the width is calculated to correct size that fits all its items:
Initially (incorrect size):
After clicking on ChoiceBox and selecting another item (correct size):
Hi Saeid,
This is most probably a problem with JavaFX itself. If so it needs to be reported in the JavaFX bug tracker. Can you double check it also happens in Modena?
Thx.
Hi Pedro, I forgot to mention that I did try this in Modena and in there it works fine. So this problem seems specific to JMetro.