Kermalis
2ee5a21dd7
Remove broken test for now
An issue will be made after merging because it's unrelated
7 years ago
Dan Walmsley
17c4c10404
fix unit test for window center location.
7 years ago
Dan Walmsley
2282c99c16
add dpi information to screens api.
7 years ago
Kermalis
9cc2d777ad
Update WrapPanelTests.cs
7 years ago
Kermalis
1cf93ad393
Add ItemWidth and ItemHeight properties to WrapPanel (with unit tests)
7 years ago
Dariusz Komosiński
d409090b90
Fix unit tests. Remove default ctor.
7 years ago
Dan Walmsley
b80aa21610
add a unit test for stackpanel layout issue.
7 years ago
Steven Kirk
33cf418779
Added failing test for #2969 .
7 years ago
Steven Kirk
6f44dfac5b
Added unit test for #2952 .
7 years ago
Steven Kirk
d7357ec876
Remove ContentControlMixin.
And implement the functionality in the content controls themselves. `ContentControlMixin` was too complex and even with its complexity had bugs (such as in #2821 ). By moving the functionality to the content controls there is some repeated code but it's much more straightforward.
7 years ago
Steven Kirk
5c407f966c
Added failing test for #2821 .
`ContentPresenter` doesn't set the logical parent of its child control after it has been removed from the logical tree and re-added.
7 years ago
Steven Kirk
bd354143ca
Notify MouseDevice when TopLevel closed.
So it can remove pointerover state.
7 years ago
Steven Kirk
8ebe1c1288
Added failing test for #2901 .
After the selected item is removed from a `ListBox` with `AlwaysSelected == true`, the container for the newly selected item does not get `:selected` applied.
7 years ago
Ben Carman
0486de87a6
MaxLength Property for TextBox
7 years ago
all.owing
a6b65a39de
Test fix
7 years ago
Steven Kirk
947598fcec
More tests forContentPresenter and InheritanceParent.
Make sure the inheritance parent is reset for non-rooted and standalone `ContentPresenter`s.
7 years ago
Steven Kirk
939d80788b
Added failing test for #2823 .
7 years ago
Nikita Tsukanov
0bad390dac
Added PointerUpdateKind and replaced InputModifiers with KeyModifiers
7 years ago
Nikita Tsukanov
3d4a2781b0
Switched key events to use KeyModifiers
7 years ago
Nikita Tsukanov
07ed194c9d
Review comments
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
c65b5de959
Move setting popup TemplatedParent...
...out of `PopupRoot` and into `Popup`. Fixes styling problems in `Popups` hosted in control templates.
7 years ago
Steven Kirk
6caa06f52b
Remove PopupContentHost.
It's no longer needed now the bug fix in 669c6511d6 is in place.
7 years ago
Steven Kirk
669c6511d6
Reset inheritance parent in ContentPresenter.
Previously a dangling reference to `ContentPresenter` was left in place in the ex-child control's `InheritanceParent`. When the child is removed from the `ContentPresenter`, reset the value to the control's logical parent.
7 years ago
Nikita Tsukanov
f9561260a3
IPopupImpl is now optional advanced feature
7 years ago
Nikita Tsukanov
fafd27243f
Fixed tests
7 years ago
Steven Kirk
41e9999ae7
Move MouseTestHelper to Avalonia.UnitTests.
7 years ago
Nikita Tsukanov
79cf3e5cea
Completely re-create PopupRoot on reopening Popup
7 years ago
Nikita Tsukanov
8e5c8fee07
Somewhat fixed tests
7 years ago
Nikita Tsukanov
9343ba4c23
Wired up the popup positioner
Tests are failing because they are trying create popups out of a thin air
7 years ago
Nikita Tsukanov
35f64af761
Make toplevels responsible of creating popups
7 years ago
Steven Kirk
835cc6e051
Added failing test for #2754 .
7 years ago
Steven Kirk
cae46af287
Fixed typos.
7 years ago
Steven Kirk
0b88151b65
Fix tests failing after merge.
7 years ago
Dariusz Komosinski
3c787b3d4d
Fix events for ContextMenu and Popup.
7 years ago
Nikita Tsukanov
ce28364545
Added comments regarding name scope task completions
7 years ago
Nikita Tsukanov
991f767c3c
Removed outdated tests
7 years ago
Nikita Tsukanov
1ab923c02e
Removed WithNameScope
7 years ago
Nikita Tsukanov
3169f59da8
Introduced name scope chains
7 years ago
Nikita Tsukanov
fe5c1cec76
Use INameScope from IServiceProvider
7 years ago
Nikita Tsukanov
fa55755b71
Manually handle name scope registrations
7 years ago
Steven Kirk
2210b441a2
Moved attached layout code to Avalonia.Layout.
Also involved moving `Orientation` enum.
7 years ago
Steven Kirk
07a625d489
Added more failing TreeViewTests.
7 years ago
Steven Kirk
f8741ead2c
Added failing SelectingItemsControl tests.
7 years ago
Steven Kirk
4e4c1918ab
Added failing test for #2660 .
And a passing test too. Also added some useful methods to `TreeView` to help with this.
7 years ago
Steven Kirk
2fa8247f01
Removed MemberSelector.
7 years ago
Steven Kirk
fc9a8db010
Correctly select materialized containers.
And add another test.
7 years ago
Steven Kirk
11a3f0c093
Added failing test for #2565 .
Along with a passing test I wrote looking for the solution, and some documentation about SelectionMode.
7 years ago
Steven Kirk
67bd1b8d86
Added failing tests for #1701 .
7 years ago