Skip to content

Sluggishness when loading new MFX controls in scene #362

@SylvainBertrand

Description

@SylvainBertrand

Hi!

Before I start, your library looks quite nice! I've been using JFoenix, but like you had to previously, I inevitably will have to switch to something else that is actually maintained. I've been looking at MaterialFX a few times now and it does seem like it'd be the best move.

Alright so, it appears that in comparison to JFoenix controls, MaterialFX controls are much heavier to load for some reason. I tried to look around to see if I was doing something wrong, but I couldn't find anything for sure. I've got the styling working, but it's just that the controls take a long time to load which is a concern to me as the app I'm hoping to use this library for has many controls. Also when creating a layout in SceneBuilder, as soon as I add/edit MaterialFX controls, it takes a long to refresh the layout. I also downloaded the demo and it does look like it also take a long time to initialize the controls as well.

Once the controls are loaded though, everything is very responsive though. So it seems to me that there is a lot of file operations when creating the controls.

Alright, I'm done here with my ramble, I wanted to know if that's something you're aware of, if there's a solution/workaround to it, or maybe I'm doing something stupid 😅

I've tested MaterialFX on Windows 10, on a computer that runs JavaFX pretty nicely typically.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions