-
Notifications
You must be signed in to change notification settings - Fork 220
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
SceneBuilder broken when styleClass element has only one child #131
Comments
Original comment by Stefan Barth (Bitbucket: sistbart, GitHub: Unknown): Additional info: I tested this with SceneBuilder version 8.2 and 8.3 on Windows 10 |
Original comment by Jose Pereda (Bitbucket: JPereda, GitHub: JPereda): I can reproduce the issue, not only with Not only you can't delete the second label, but any change apply to it won't be saved to the FXML file. It happens even if you have only that first label. It works fine (as expected) with Doing some debugging, it seems This has something to do with a PR for issue #18 that was merged a while ago, trying to optimize the imports in an FXML file: All the "inner" properties |
Original comment by Abhinay Agarwal (Bitbucket: abhinayagarwal, GitHub: abhinayagarwal): The PR has been merged into default branch. |
Issue #131: Fix to add the required imports when using GlueElements Approved-by: gerardo balderas <[email protected]> Approved-by: Joeri Sykora <[email protected]>
Originally reported by: Anonymous
Hi,
we found out that SceneBuilder has a problem with following code snippet:
When you open this in SceneBuilder and try to delete the second Label, nothing happens. The reason herefore is that the styleClass element of the first Label has only one children. When we add a second one, all seems to be fine.
This issue does only occur when the file was manipulated manually, SceneBuilder usually saves a single styleClass as attribute and creates an element only for more than one styleClass names.
The text was updated successfully, but these errors were encountered: