Stano Turza
3bd87c0d30
Fix ButtonSpinner hit testing
7 years ago
Stano Turza
7ab413be4b
Fix Combobox hit testing
7 years ago
Nikita Tsukanov
9335f78dfd
Merge pull request #2794 from AvaloniaUI/fixes/flaky-tests
Fix flaky XAML tests.
7 years ago
Nikita Tsukanov
b7b477b8fd
Merge pull request #2793 from AvaloniaUI/fixes/visualnode-nre
Fix NRE in VisualNode.SortChildren.
7 years ago
Steven Kirk
f0a8e64189
Merge pull request #2744 from AvaloniaUI/refactor/2709-mutable-pen
Make Pen mutable.
7 years ago
Steven Kirk
f642a0044d
Merge branch 'master' into refactor/2709-mutable-pen
7 years ago
Steven Kirk
1f7346f101
Merge pull request #2682 from wieslawsoltes/wpfstackpanelimport
Port of WPF StackPanel and fixes to layout constraints
7 years ago
Steven Kirk
0dce4cfc6f
Set capacity seeing as we know it.
7 years ago
Steven Kirk
b4d7d03afd
Constrain to availableSize in MeasureCore.
#2431 erroneously removed the `.Constrain(availableSize)` call in `Layoutable.Measure`. Now that the WPF source is available, I can see i that WPF does in fact constrain measure to availableSize and Grid relies on this.
Put constraint back in, undo the changes to the controls changed in #2431 (`StackPanel`, `Image`) and update the expected test results based on cross-checks with WPF in https://github.com/wieslawsoltes/WpfUnitTests/pull/1 .
7 years ago
Steven Kirk
51ec592e4a
Added failing test for #2746 .
7 years ago
Steven Kirk
580bf42afa
Call ArrangeChild in StackPanel.
So that derived classes can override the arrangement (needed for `VirtualizingStackPanel`).
7 years ago
Steven Kirk
c99f553c18
Fix merge error.
`Orientation` was moved to `Avalonia.Layout`.
7 years ago
Steven Kirk
816422487c
Merge branch 'master' into wpfstackpanelimport
7 years ago
Steven Kirk
05ee1c57c0
Merge branch 'master' into refactor/2709-mutable-pen
7 years ago
Steven Kirk
a6c9086782
Fix flaky XAML tests.
Make tests that load XAML inherit from `XamlTestBase` which ensures that `Avalonia.Markup` is loaded.
7 years ago
Steven Kirk
cdb486fe23
Fix NRE in VisualNode.SortChildren.
`_children` may be null. In addition if there are < 2 children, there's no sorting to be done.
7 years ago
Steven Kirk
7c0b35b65e
Merge pull request #2787 from MarchingCube/calendar-event-spam
Do not spam with collection changed events in Calendar.
7 years ago
Steven Kirk
8fd9003bf3
Merge branch 'master' into calendar-event-spam
7 years ago
Steven Kirk
5beccaad96
Merge pull request #2786 from MarchingCube/textblock-textpresenter-ctor-perf
Do not allocate as much in TextBlock and TextPresenter constructors.
7 years ago
Dariusz Komosiński
c5932489be
Merge branch 'master' into textblock-textpresenter-ctor-perf
7 years ago
Dariusz Komosiński
f65498645a
Merge branch 'master' into calendar-event-spam
7 years ago
Steven Kirk
7cb20d7837
Merge pull request #2776 from AvaloniaUI/fixes/2714-zindex-fix
Fix ZIndex rendering.
7 years ago
Steven Kirk
cb98af506c
Merge branch 'master' into fixes/2714-zindex-fix
7 years ago
Steven Kirk
8011125af8
Merge pull request #2779 from AvaloniaUI/fixes/2730-gestures-handled
Fix Tapped and DoubleTapped gestures
7 years ago
Steven Kirk
616884ee30
Merge branch 'master' into fixes/2730-gestures-handled
7 years ago
Jumar Macato
37e7e9395a
Merge pull request #2783 from AvaloniaUI/revert-2662-ImproveButtonStyle
Revert "Improve Button and ToggleButton styling"
7 years ago
Jumar Macato
96d4e34c72
Merge branch 'master' into revert-2662-ImproveButtonStyle
7 years ago
Dariusz Komosiński
3985e176cd
Merge branch 'master' into calendar-event-spam
7 years ago
Dariusz Komosiński
61a2e709f2
Merge branch 'master' into textblock-textpresenter-ctor-perf
7 years ago
Dariusz Komosinski
9b1dd5de17
Do not spam with collection changed events.
7 years ago
Dariusz Komosinski
961bade055
Do not allocate as much in TextBlock and TextPresenter constructors.
7 years ago
Steven Kirk
142ead4d39
Make tests compile on CI.
7 years ago
Nikita Tsukanov
fabd4cbe7e
Merge pull request #2785 from AvaloniaUI/fixes/2758-hittest-nullref
Prevent NRE in VisualNode.HitTest.
7 years ago
Steven Kirk
e82d67f664
Prevent NRE in VisualNode.HitTest.
Not sure how this is happening but judging by #2758 , it can happen. Defensively check for a null `Item` to prevent this.
Fixes #2758 .
7 years ago
Steven Kirk
4b34f4770a
Revert "Improve Button and ToggleButton styling"
7 years ago
Nikita Tsukanov
8b35465a5f
Merge pull request #2771 from AvaloniaUI/fixes/2754-always-select-on-reset
Make SelectingItemsControl.AlwaysSelect work with Reset.
7 years ago
Nikita Tsukanov
474362b01e
Merge pull request #2766 from AvaloniaUI/prevent-equals
Disallow overriding Equals and GetHashCode on AvaloniaObjects.
7 years ago
Nikita Tsukanov
7480f1a4f3
Debug symbol magic
7 years ago
Nikita Tsukanov
08a57e89b3
Merge pull request #2603 from AvaloniaUI/experimental/itemsrepeater
Porting ItemsRepeater from WinUI
7 years ago
Nikita Tsukanov
f75437499c
Merge branch 'master' into experimental/itemsrepeater
7 years ago
Steven Kirk
d0a6f48015
Added `Gestures.RightTapped`.
7 years ago
Steven Kirk
6809fe11d2
Raise tap gestures even if press/release were handled.
Also don't raised tapped events for right button clicks.
Fixes #2730 .
7 years ago
Steven Kirk
5e2b3c56e6
Update tests for #2730 .
7 years ago
Steven Kirk
2c9114d2a2
Moved gesture tests to Avalonia.Input.
As `Gestures` is defined here, not in Avalonia.Interactivity.
7 years ago
Steven Kirk
41e9999ae7
Move MouseTestHelper to Avalonia.UnitTests.
7 years ago
Steven Kirk
c15fb443b9
Merge pull request #2757 from MarchingCube/diagnostics-cleanup
Avalonia.Diagnostics cleanup and formatting
7 years ago
Steven Kirk
0e7f4cac81
Ensure control is invalidated on ZIndex change.
7 years ago
Steven Kirk
bc5a101faf
Render changes to child order/zindex.
Fixes #2714 .
7 years ago
Steven Kirk
32d7938c7c
Added failing tests for #2714 .
7 years ago
Steven Kirk
397d972db8
Auto-select first item on `Reset`.
When a reset is received by `SelectingItemsControl` which has `AlwaysSelect == true`, select the first item if present.
Fixes #2754
7 years ago