Giter VIP home page Giter VIP logo

Comments (8)

mkhomutov avatar mkhomutov commented on September 27, 2024

@ceo1647, please look into this issue

from orc.controls.

mkhomutov avatar mkhomutov commented on September 27, 2024

but if this is urgent for you, @jdehaan , then you can try to fix it by yourself and make pull request

from orc.controls.

jdehaan avatar jdehaan commented on September 27, 2024

It's not so urgent we stick to the old version at the moment. Unfortunately I am not an expert for styling issues. I struggle and fight all the time and just stick to defaults. I enjoy WPF for MVVM more than for the ability to theme and style (in the end to me ability to style is of no importance) But here the is a functional impact of styles. I am not sure how to fix it.

I had however a look in the code (Orc.Controls/src/Orc.Controls/Orc.Controls.Shared/Controls/DatePicker/Themes/DatePickerControl.generic.xaml) and I suspect the culprit is the removal of the lines

<Style TargetType="{x:Type local:DatePickerControl}"> <Style.Resources>

This "scoped" nicely everything. Due to the change for 1.3.0 and the scope removal IMHO the styles coming below apply globally. The ControlTemplate has a key but many styles below do not and thus AFAIK apply directly always to the TargetType.

But unfortunately I cannot judge what would be a clean fix for this issue...

from orc.controls.

GeertvanHorrik avatar GeertvanHorrik commented on September 27, 2024

We should never set default styles without an explicit key. We probably added a default margin to the types, not with the actual key so need to look into this.

from orc.controls.

ceo1647 avatar ceo1647 commented on September 27, 2024

Yes. Some default styles are applied globaly now. This is not good, thanks @jdehaan for indicating a bug. Will fix it soon

from orc.controls.

mkhomutov avatar mkhomutov commented on September 27, 2024

@jdehaan, we have released Orc.Controls v1.3.5-beta12
it is working good for us. Could you please check if we have fixed the issue?

from orc.controls.

jdehaan avatar jdehaan commented on September 27, 2024

Good job! I could not observe the negative effects anymore after updating to the mentioned version.

from orc.controls.

lock avatar lock commented on September 27, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from orc.controls.

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.