Giter Site home page Giter Site logo

Comments (14)

clementpoiret avatar clementpoiret commented on May 16, 2024

Any news for this bug ?

from materialdesigninxamltoolkit.

ButchersBoy avatar ButchersBoy commented on May 16, 2024

Hey, not yet, but I've cleaned a lot of other issues in my queue so I'll look at this one next, hopefully in the next couple of days.

from materialdesigninxamltoolkit.

clementpoiret avatar clementpoiret commented on May 16, 2024

I updated to the last version, I've not the error "can't convert "Brushes" to "Brushes"" but the TimePicker's foreground don't change, it's still unreadable :/

from materialdesigninxamltoolkit.

ButchersBoy avatar ButchersBoy commented on May 16, 2024

OK, will have a look shortly...one question, are you using a MahApps palette or a Material Design palette?

from materialdesigninxamltoolkit.

clementpoiret avatar clementpoiret commented on May 16, 2024

I have both MahApps and Material Design in my Application.XAML to change App Theme to light or dark and have a great color integration in your controls

from materialdesigninxamltoolkit.

ButchersBoy avatar ButchersBoy commented on May 16, 2024

OK, the time picker now looks a lot better in dark mode; let me know if it's better for you.

Please note that the time readout on the clock will not be updated by setting TimePicker.Foreground. The time is laid over a coloured background, and thus the foreground needs to be set according to the Material Design specifications to ensure it is legible. Effectively, this part of the control renders with the same colours whether in light or dark mode.

from materialdesigninxamltoolkit.

clementpoiret avatar clementpoiret commented on May 16, 2024

Same problem with the 0.0.0.88,
screenshot 17
But with the DatePicker the problem is the same but I can change the foreground so it's not important for it

from materialdesigninxamltoolkit.

clementpoiret avatar clementpoiret commented on May 16, 2024

Oh ! I found the problem ! In fact, the bug come from that I let the choice to the user to change app theme to light or dark. If I change the theme in Application.XAML to dark, it's great, but if it is set to light, then I do a MahApps.Metro.ThemeManager.ChangeAppTheme(Application.Current, "BaseDark"), the problem is here

from materialdesigninxamltoolkit.

ButchersBoy avatar ButchersBoy commented on May 16, 2024

Ok, then I think I need to look at providing dynamic theme switching in code, as per your other issue, then check the whole thing plays nice with MahApps. Leave it with me a little while...

from materialdesigninxamltoolkit.

voshond avatar voshond commented on May 16, 2024

from materialdesigninxamltoolkit.

ButchersBoy avatar ButchersBoy commented on May 16, 2024

Okay okay I get it! 😉 I will start work on it...

from materialdesigninxamltoolkit.

clementpoiret avatar clementpoiret commented on May 16, 2024

Good luck :)

from materialdesigninxamltoolkit.

ButchersBoy avatar ButchersBoy commented on May 16, 2024

See update on this thread: #36

Get back to me and let me know where you're at.

from materialdesigninxamltoolkit.

ButchersBoy avatar ButchersBoy commented on May 16, 2024

Dealing with under #36

from materialdesigninxamltoolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.