Open 13584452567 opened 2 weeks ago
This appears to be a bug within Avalonia as the implementation for CanResize
has not changed in a long time. There was an issue where CanResize
was broken and a fix has been merged for Avalonia and that may well have been made available already in 11.1rc-1 but it's hard to tell.
Quick Edit:
I rolled back the project to use Avalonia 11.0.11 and can confirm that this is a regression only seen in 11.1+ so almost certainly a bug on their end and not a huge amount we can do about it.
This issue should be marked as upstream and if there is a relevant Avalonia issue to be linked to this that'd be good too.
Relevant Issues from Avalonia: https://github.com/AvaloniaUI/Avalonia/issues/8072 https://github.com/AvaloniaUI/Avalonia/issues/15301
Workaround mentioned in 8072: MinHeight = MaxHeight, MinWidth = MaxWidth
Check the following items
Description of the issue
CanResize has been set to false in SukiUI.Demo\SukiUIDemoView.axaml,but nothing happened.i still can resize thre windows
Package Version
6.0.0-01509e253368eab45385df938c28d1afb72fee52
Environment
Windows 10 19045.4598
Expected Behavior
after CanResize be setted to false,the windows should be fixed and is no longer resizable
Reproduction
after clicking the Toggles/Windows Lock,the windows still can be resize and move
Additional Information
the avalonia previewer also exited unexpectedly when previewing SukiUIDemoView.axaml with error :