-
Notifications
You must be signed in to change notification settings - Fork 11
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
Not supported in Avalonia 11-preview4 #5
Comments
Could you please recompile libraries with last version of Avalonia? I have problems with compilation |
I plan to port it soon. |
Great! Thanks!) |
Still, I am not able to make it work on preview 4 |
Hey, sorry, when I said that I'll port it soon, I was told by some people at Avalonia that the 11 RC is coming in December 22 while the full version is coming in Jan. Now they have a very different schedule and they are actually not sure when they are moving to 11 RC and full version. So, I decided to wait longer. I do not have bandwidth to support both versions at the same time. Regards. |
take a look at AvaloniaUI/Avalonia#2239 (comment) |
same question here. had to update to preview5 and now can't do localization cuz of that same error |
Hey DigitalAdeel, |
Here it is: AvaloniaUI/Avalonia#10193 (comment) |
Problem with Preview4 is that libvlcsharp gives Avalonia.Styling error if I use preview4 and problem with 0.10.18 is that I can't force it to use dark theme not according to sytem's theme color. |
Cuz my client only wants black color for background, I need to force it to use dark theme only. |
For Avalonia built in themes in 0.10.18 version - yes there are ways to switch between light and dark for both Fluent and Default themes. For fluent theme - there is a property Mode that you can change between Light and Dark, e.g.
For Default theme - it is done differently, by switching between BaseLight.xaml and BaseDark.xaml, e.g
using |
in version 11 - built-in theming is different, BTW. |
Anyway to force dark theme in 0.10.18? |
yes, see my comment above. |
it is all about 0.10.18 |
sorry, missed it somehow 😅 |
np:) |
Well, I tried with setting it's mode to dark but it was still switching to light theme |
:( |
I got old backup with 0.10.18 version, so I'll test it again |
looks dark to me - background is dark and foreground is light. To apply the theme globally, put it into App.axaml file. |
in preview5, all I had to was to set RequestedThemeVariant property to Dark |
I am sorry, I am not supporting Avalonia. I am not part of Avalonia team. Based on the quote about 11.preview-5 version you should not be switching to it yet. You can create your own custom theme and change the background the way you want. Take a look the way it is done in Avalonia. |
Okay. Thanks for your help :) |
Well, I'm gonna play some witcher 3 now 😂 |
not a problem :) |
@npolyak Hi, btw was able to find the culprit behind it. |
@npolyak Now, no need to wait for Avalonia 11 to become stable 😂 Edit: I added Remember Password checkbox when I was using Avalonia 11, so now gonna add string for it in Resource Files 😅 |
preview6 is out, is it possible to get it updated? |
Same question here cuz we don't how much time it's gonna take before Avalonia 11 becomes stable |
So, Avalonia 11 now released, any information about updating your package? |
Avalonia is out 11.0.1, @npolyak could you update the package please |
After updating from Avalonia 10 to Avalonia 11-preview4 we have the exception in compiler
SettingsViewModel.cs(26, 34): [CS0012] The type 'IResourceProvider' is defined in an assembly that is not referenced. You must add a reference to assembly 'Avalonia.Styling, Version=0.10.18.0, Culture=neutral, PublicKeyToken=c8d484a7012f9a8b'.
The text was updated successfully, but these errors were encountered: