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

Invisible slider #89

Open
papersaccul opened this issue Mar 19, 2024 · 1 comment
Open

Invisible slider #89

papersaccul opened this issue Mar 19, 2024 · 1 comment

Comments

@papersaccul
Copy link

I have a slider

private Slider volumeSlider;
...

volumeSlider = new Slider(0, 100, 100);
volumeSlider.valueProperty().addListener((observable, oldValue, newValue) -> videoSettings.setVolume(newValue.doubleValue()));

...

@Override
    public void updateVideoSettingsInfo(VideoSettings videoSettings) {
        if (videoSettings != null) {
        volumeSlider.setValue(videoSettings.getVolume());
        ....
    }

With the NordDark or NordLight theme, I get this
image

Without themes, it's look and work fine
image

From the changes from my side - I only change the colors of the buttons through my css and the background color through the code (it's not the cause of the problem)

I am loading the theme through maven

<dependency>
            <groupId>io.github.mkpaz</groupId>
            <artifactId>atlantafx-base</artifactId>
            <version>2.0.1</version>
</dependency> 

and just import and set

import atlantafx.base.theme.NordDark;
...
Application.setUserAgentStylesheet(new NordDark().getUserAgentStylesheet());

Full my code u can see on https://github.com/papersaccul/paperFFeditor if u need it

@mkpaz
Copy link
Owner

mkpaz commented Aug 8, 2024

I can't imagine how this is possible. If it's still possible, could you please provide a minimally reproducible example?

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

2 participants