DRAFT: MigPane integration & support improved for custom components.#229
DRAFT: MigPane integration & support improved for custom components.#229dokshinit wants to merge 1 commit intogluonhq:8u-devfrom
Conversation
Integration for MigPane layout is implemented: * MigPane component is added to the list of built-in containers. * Properties for layout and child constraints are added to the inspector panel. Support for custom components is improved: * Correct interaction is provided for custom components that are context-oriented and not inherited from Control. * The propagation of the static property relevance is provided to the descendants of the target container class.
|
@dokshinit would you retrofit this PR to work with SB16? Its quite a while pending and, I think it could be a good thing. @abhinayagarwal |
|
MigPane is not a core control of JavaFX which make me hesitant to bake it into Scene Builder. |
|
Okay, this is an important point to be mentioned in CONTRIBUTING.md. I understand this, as when issues with such components occur, the place to start an issue is most likely not Scene Builder at Github. There are a few options I see.
|
|
@AlmasB If the guideline is to not include external libraries in Scene Builder as of now, we should review this request to check if certain parts are beneficial for Scene Builder and close this. Nevertheless, this is a candidate for a potential plugins project. As I was not able to find this here (Wiki), we possibly could add a wiki page describing, what is needed to make external controls work well with Scene Builder and FXML in terms of editing and preview. @abhinayagarwal has a nice blog post for that. |
|
As this is external to JavaFX core, it shouldn't go into |
Integration for MigPane layout is implemented:
Support for custom components is improved: