Skip to content

Clarification needed: Material Design 3 styles in v21.18.0-alpha and missing Dialogs in v11.27.0-all #403

@tennisplatz924-prog

Description

@tennisplatz924-prog

Hello.

I am attempting to use this library for a small project but im having difficulty. I have read the documentation but seems like I'm still stuck.

I am using the following implementation: io.github.palexdev:materialfx:21.18.0-alpha (tried 11.17.0 as well)

UserAgentBuilder.builder()
    .themes(JavaFXThemes.MODENA)
    .themes(MaterialFXStylesheets.forAssemble(true))
    .setDeploy(true)
    .setResolveAssets(true)
    .build()
    .setGlobal();

Even with this setup, the controls appear to follow the Material Design 2 guidelines rather than Material Design 3. Could you clarify if M3 is the default in the 21.x branch or if a specific theme/token set needs to be applied to see the M3 look?

Missing Dialogs in materialfx-all:11.27.0
When I switch to io.github.palexdev:materialfx-all:11.27.0, the design actually looks M3, but the all package does not seem to include the Dialogs. Are Dialogs intentionally excluded from the all bundle, or is there a specific registration required for them in the 11.x UserAgentBuilder?

Image Note: The image shows how the buttons look using the materialfx non all package.

Environment:
Java Version: 25
OS: Windows 10
MaterialFX Versions tested: 21.18.0-alpha, 11.27.0, 11.17.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions