Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChoiceBox - width initially is smaller than its contents #147

Open
runiter opened this issue Feb 23, 2020 · 2 comments
Open

ChoiceBox - width initially is smaller than its contents #147

runiter opened this issue Feb 23, 2020 · 2 comments

Comments

@runiter
Copy link

runiter commented Feb 23, 2020

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):
image

After clicking on ChoiceBox and selecting another item (correct size):

image

@dukke
Copy link
Member

dukke commented Feb 23, 2020

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.

@runiter
Copy link
Author

runiter commented Feb 24, 2020

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.

@dukke dukke changed the title ChoiceBox width initially is smaller than its contents ChoiceBox - width initially is smaller than its contents Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants