Open lunarcloud opened 3 months ago
A bit conflicted here.
TabStripItemPipeThickness
is a type of double
, while BorderThickness
expects a Thickness. This exception is expected.
But seems like previously it was implicitly converted. cc @grokys
Having same issue here and the stacktrace does not contain the name of the xaml element or file where it is happening :(
I'm getting a similar issue too and like the person above me, it's really hard to discern where this is happening due to it not saying where the issue occured
Describe the bug
Upgraded from Avalonia 11.0.11 to 11.1.1 - and now the application won't startup because of an InvalidCastException
To Reproduce
Specify a thickness. Seems to be specifically not liking:
Expected behavior
It to continue working, for it to figure out how to turn a number into a thickness.
Avalonia version
11.1.1
OS
Windows
Additional context
Is fixed by changing it to