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

Percent layouts grow more and more when their controls are updated #31

Closed
oheger opened this issue Nov 10, 2018 · 1 comment
Closed

Comments

@oheger
Copy link
Owner

oheger commented Nov 10, 2018

This seems to be an undesired side effect of the fix made for Bug #21. For instance, on a layout with a combo box, each time the content of the combo box is updated, the width of the hosting panel is increased by 1.

Reported by: oheger

@oheger
Copy link
Owner Author

oheger commented Nov 13, 2018

Fixed by a slight modification of JavaFxPercentLayoutAdapter. Now an adjustment of the preferred width is only made for Labeled controls.

@oheger oheger closed this as completed Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant