Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:47
    maxkatz6 commented #9093
  • 01:35
    robloo commented #9098
  • 01:32
    robloo commented #9098
  • 01:02
    rabbitism commented #9093
  • 00:58
    rabbitism commented #9093
  • 00:57
    rabbitism commented #9093
  • Oct 04 23:52
    robloo commented #9093
  • Oct 04 23:51
    robloo edited #9093
  • Oct 04 23:24
    amwx labeled #9105
  • Oct 04 23:24
    amwx opened #9105
  • Oct 04 22:52
    jcoc611-microsoft commented #9103
  • Oct 04 22:35
    kekekeks commented #9103
  • Oct 04 22:31
    avaloniaui-team commented #9104
  • Oct 04 22:10
    Arhell synchronize #9104
  • Oct 04 22:08
    Arhell synchronize #9104
  • Oct 04 22:07
    Arhell opened #9104
  • Oct 04 22:07
    jcoc611-microsoft commented #9103
  • Oct 04 21:33
    kekekeks commented #9103
  • Oct 04 20:16
    jcoc611-microsoft opened #9103
  • Oct 04 20:16
    jcoc611-microsoft labeled #9103
.
@avaloniaui:matrix.org
[m]
Bunny
Do we have a convenient way to apply TextDecorations to all text elements in ContentPresenter?
timunie
Via Styles ?
timunie
You can apply them globally in App.axaml or locally in each node
.
@avaloniaui:matrix.org
[m]
:point_up: Edit: timunie
I'm not sure if we need a way to support this somehow. So proably worth to open a feature request where this can be discussed further.
.
@avaloniaui:matrix.org
[m]
Bunny
Thanks, I want to apply that in a control theme, but with a property as selector to determine whether the decoration should be applied. It's kind hard to implement with style selector. Not really specific to TextDecoration.
Bunny
.
@avaloniaui:matrix.org
[m]
asrulhadi
Hi,
I'm trying to close an avalonia app remotely.
Using Process.CloseMainWindow Method, I could successfully remotely the application on Window. But the method fail to close the application on Linux (manjaro).
Are there any alternative way to close an application on Linux?
RazorSharpFang
Are you okay with it skipping all finally blocks and handlers?
RazorSharpFang
E.g.: Files may be left open, stuff unsaved
asrulhadi
Process.Kill work in Linux, but looking for a better option...
.
@avaloniaui:matrix.org
[m]
Drac
Hi, Is there a Rich Text Editor with HTML support for Avalonia like the DevExpress Rich Text Editor?
https://docs.devexpress.com/WPF/8651/controls-and-libraries/rich-text-editor
.
@avaloniaui:matrix.org
[m]
RazorSharpFang
You may be able to send it signals instead, but then that's probably not cross-platform so you may have to write native code. (re @asrulhadi: Process.Kill work in Linux, but looking for a better option...)
.
@avaloniaui:matrix.org
[m]
SuperJMN
Hey, is there a good and reliable way to know the source of a value of a AvaloniaProperty?
SuperJMN
I'm debugging a case where a FontSize takes a value of 14 where it should be 15
wieslawsoltes
devtools
wieslawsoltes
see active styles
wieslawsoltes
also devtools property list
wieslawsoltes
see property priority
wieslawsoltes
also you can hook into property changed
wieslawsoltes
see the Sender
SuperJMN
Thanks! Will take a look ASAP
wieslawsoltes
I thinks this property can be inherited
wieslawsoltes
so you may need to check tree
.
@avaloniaui:matrix.org
[m]
danwalmsley
RazorSharpFang
Happy... 11?
danwalmsley
🤔
.
@avaloniaui:matrix.org
[m]
Todlichan
hello again, i'm asking so many stupid questions, jeez...
I'm stuck on building my app for linux, it works for windows, but when i build it for linux and run it it says The version of the native libSkiaSharp library (80.2) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [80.3, 81.0). and declines to run
There is a libSkiaSharp.so file in the output directory, why would it be something wrong?
danwalmsley
what version are you using for Avalonia?
danwalmsley
have you done something with skiasharp package?
Todlichan
it's Avalonia 0.10.10 (re @danwalmsley: what version are you using for Avalonia?)
danwalmsley
use 0.10.18
danwalmsley
clean and build
danwalmsley
and see if your issue is resolved
danwalmsley
let me know the result
Todlichan
i'll try it, i hope nothing will break because of any vital changes
danwalmsley
we maintain stable api
danwalmsley
everything 0.10.x is stable and compatible
.
@avaloniaui:matrix.org
[m]
RazorSharpFang
Looking at UnmanagedMethods.cs
CreateWindowEx from User32.dll
Shouldn't the target be CreateWindowExW for Wide-String ? I thought CreateWindowEx was the .h macro that pointed to either the A variant or the W variant depending on whether or not certain preprocessor directives were made.
danwalmsley
@kekekeks ?
RazorSharpFang
I noticed that the EntryPoint is specified manually on DefWindowProc to correctly point to DefWindowProcW
RazorSharpFang
But I'm not seeing that on CreateWindowEx
RazorSharpFang
It could be that the Marshaller is smart enough to do this for you? I've not actually tried doing these kinds of dll imports manually without explicitly hitting the W variant.
RazorSharpFang
🤔
.
@avaloniaui:matrix.org
[m]
Katz0
@RazorSharpFang is it native control host? You need a app.manifest as this exceptions tells
RazorSharpFang
Will the manifest modify the way the marshaller manages this, or does it change the way the operating system maps these DLL calls?
.
@avaloniaui:matrix.org
[m]
Todlichan
okay, i updated and now it fails to load 'libcef' (re @danwalmsley: let me know the result)