Comments (8)
@ceo1647, please look into this issue
from orc.controls.
but if this is urgent for you, @jdehaan , then you can try to fix it by yourself and make pull request
from orc.controls.
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.
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.
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.
@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.
Good job! I could not observe the negative effects anymore after updating to the mentioned version.
from orc.controls.
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)
- Style WatermarkTextBox so it uses theming capabilities from Orc.Theming HOT 2
- Style NumbericTextBox so it uses theming capabilities from Orc.Theming HOT 1
- style SaveFilePicker with themes library HOT 1
- BusyIndicator doesn't respond to accent color HOT 1
- Style BindableRichTextBox so it uses theming capabilities from Orc.Theming HOT 1
- Bindable rich text box do not accent text with color HOT 2
- Open file dialog has wrong styles in example project HOT 1
- Move expander slyles from rantt, because standard styles looks bad HOT 1
- Default watermark text box style doesn't apply HOT 1
- PinnableToolTip doesn't work in example project HOT 1
- Use Control as base class for DatePicker HOT 1
- Use Control as base class for DateRangePicker HOT 2
- Use Control as base class for DateTimePicker HOT 1
- Style LogViewer so it uses theming capabilities from Orc.Theming HOT 1
- Use Microsoft.Xaml.Behaviors.Wpf instead the System.Windows.Interactivity HOT 3
- Create StepBar control HOT 5
- Create Callout control
- Install Nuget Package error HOT 1
- Install Nuget package error #2 HOT 2
- Incorrect ElementName in XAML Binding at TimeSpanPicker control HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orc.controls.