Steven Kirk
afc55cb985
Fix tests on macOS.
`MoveByOffset` caused Appium to hang, but `MoveToElement` with an offset seems to work fine.
3 years ago
Max Katz
9347d26e12
Merge branch 'master' into fixes/11015-slider-thumb-not-moving
3 years ago
github-merge-queue[bot]
e5a4c0b6b5
Merge pull request #11053 from AvaloniaUI/refactor/10525-remove-controltemplateresult
Remove ControlTemplateResult.
3 years ago
Steven Kirk
3882bc0217
Remove ControlTemplateResult.
Use `TempateResult<Control>` instead as described in #6666 .
Fixes #10525 .
3 years ago
Steven Kirk
00315ef37d
Enqueue for arrange after measure.
Fixes the problem described in `Child_Can_Invalidate_Parent_Measure_During_Arrange`. To do this, add controls to the arrange queue after they've been measured, not on measure invalidation.
Fixes #11015
3 years ago
Steven Kirk
fe8f349047
Added failing test for #11015 .
Problem is in layout manager.
3 years ago
Steven Kirk
576014db05
Improve slider integration tests.
They are now failing due to #11015 .
3 years ago
Steven Kirk
5926c994c5
Added ThumbAutomationPeer.
To make slider thumb visible to automation.
3 years ago
github-merge-queue[bot]
7158628805
Merge pull request #11040 from AvaloniaUI/fixes/menuitem-header-binding
Fix NativeMenuBar.
3 years ago
Steven Kirk
d37de0b634
Allow setting item container properties in styles.
Allow overriding the default behavior of item containers in styles or in `ItemContainerTheme`. To do this, use `SetCurrentValue` to set the properties, only if the properties are not already set (i.e. from a style). This also requires us to clear the current value when the container is cleared (styles won't be affected as `AvaloniaObject.ClearValue` only clears local or `SetCurrentValue` values).
3 years ago
Steven Kirk
822c8f918c
Added failing NativeMenuBar integration test.
3 years ago
Steven Kirk
1096810ad8
Update ncrunch configuration.
3 years ago
Dan Walmsley
747c6a62d2
Merge pull request #10831 from AvaloniaUI/refactor/other-controls-itemssource
Convert Items property to ItemsSource (non-ItemsControl)
3 years ago
Max Katz
8676732c06
Merge branch 'master' into refactor/other-controls-itemssource
3 years ago
Max Katz
9010a5797b
Merge branch 'refactor/other-controls-itemssource' of https://github.com/AvaloniaUI/Avalonia into refactor/other-controls-itemssource
3 years ago
Max Katz
80ad07ddff
Fix build
3 years ago
Max Katz
8b4fe1e13a
Merge remote-tracking branch 'origin/master' into refactor/other-controls-itemssource
3 years ago
Max Katz
0c0fa94d0e
Merge remote-tracking branch 'origin/master' into refactor/other-controls-itemssource
3 years ago
Max Katz
8115156832
Merge pull request #10999 from YohDeadfall/remove-non-ref-resources
Removed unreferenced resources from TextBox
3 years ago
Max Katz
db8a1df0bb
Merge pull request #11024 from Enscape/fixes/radiobutton-sibling-setcurrentvalue
Use `SetCurrentValue` to manipulate sibling `RadioButton`s
3 years ago
Yoh Deadfall
e41d37c90a
Merge branch 'master' into remove-non-ref-resources
3 years ago
Tom Edwards
63f3a9a58e
Use SetCurrentValue to manipulate sibling RadioButtons
3 years ago
Dan Walmsley
69295eb6cc
Merge branch 'master' into refactor/other-controls-itemssource
3 years ago
Max Katz
801aef5cfe
Merge pull request #10996 from AvaloniaUI/safe-area-demo
Add Safe Area Demo sample
3 years ago
Nikita Tsukanov
1188a189a0
Merge pull request #11020 from AvaloniaUI/fixes/direction-degrees
DropShadowEffect Direction is in degrees, not radians
3 years ago
Nikita Tsukanov
5890edd603
Merge branch 'master' into fixes/direction-degrees
3 years ago
Nikita Tsukanov
e2429184e4
DropShadow default color = black
3 years ago
Nikita Tsukanov
79e2e5b11a
DropShadowEffect Direction is in degrees, not radians
3 years ago
Dan Walmsley
773831ef4b
Merge pull request #10919 from AvaloniaUI/x11-disable-input
X11 - Prevent window from receiving input when disabled
3 years ago
Nikita Tsukanov
ee6754dd10
Merge pull request #10906 from AvaloniaUI/x11-restore-activate
X11 - Activate window when window state is restored
3 years ago
Nikita Tsukanov
fd5dc0ddad
Merge branch 'master' into x11-disable-input
3 years ago
Dan Walmsley
19adcd0d4b
Merge pull request #11013 from AvaloniaUI/refactor/readonly-classes
Make Classes properties readonly.
3 years ago
Dan Walmsley
0d39ae752a
Merge pull request #11014 from AvaloniaUI/feature/effects
Bitmap effects support
3 years ago
Dan Walmsley
071691a764
fix typo
3 years ago
Max Katz
f0f5e7b8b7
Merge pull request #11009 from Gillibald/fixes/glyphRunHitTest
Fixes GlyphRunNode hit testing
3 years ago
Nikita Tsukanov
cf28998a46
Bitmap effects support
3 years ago
Dan Walmsley
311df96fd3
Merge pull request #11012 from AvaloniaUI/fix-datagrid-edit-cell
Backport WCT fix for editing DataGrid
3 years ago
Max Katz
72603182ae
Backport WCT fix for editing DataGrid
3 years ago
Steven Kirk
1135895b73
Make Classes properties readonly.
Makes the `StyledElement.Classes` and `Flyout.FlyoutPresenterClasses` properties readonly. Adds a transformer to the XAML compiler to convert attribute syntax classes setters to collection syntax so that they will be added to the existing `Classes` object.
Prevents an unneeded allocation of a `Classes` object when setting `Classes` from XAML.
3 years ago
Max Katz
40b5c3b178
Merge pull request #11010 from AvaloniaUI/mozilla-hacks-clipboard
Add "readClipboardText" workaround for Mozilla
3 years ago
Max Katz
1a46ccbbeb
Add "readClipboardText" workaround for Mozilla
3 years ago
Max Katz
37ef8b7eb8
Merge pull request #11008 from AvaloniaUI/fixes/10946-dont-allow-items-binding
Make binding to `ItemsControl.Items` a compile error.
3 years ago
Yoh Deadfall
8674ec6e38
Merge branch 'master' into remove-non-ref-resources
3 years ago
Benedikt Stebner
69c31bb394
Use untransfored bounds for GlyphRunNode.HitTestTransformed
3 years ago
Steven Kirk
1a3b8fbcac
Don't allow binding to `ItemsControl.Items`.
Depends on https://github.com/kekekeks/XamlX/pull/85 : this PR disallows invoking "collection behavior" for property setters when using attribute syntax.
Required adding a `Flyout.FlyoutPresenterClasses` setter. This property was previously buggy without the setter (see https://github.com/AvaloniaUI/Avalonia/issues/10946#issuecomment-1506563268 ). Added tests for setting classes that I put in place when investigating this.
Fixes #10946
3 years ago
Nikita Tsukanov
5ddb6cad81
Merge pull request #11005 from Altua/transformed-hittest
Take Transform into account when hit testing DrawOperationWithTransform
3 years ago
jankrib
076d3c721e
Update DrawOperationTests.cs
3 years ago
jankrib
8f7deb17ad
Implement HitTestTransformed
3 years ago
Max Katz
592dce39b4
Merge pull request #10994 from AvaloniaUI/android-safe-area-fix
Android - Fix bottom inset value when displaying edge to edge
3 years ago
Emmanuel Hansen
bb2b2fce5f
correction in calculating bottom inset on android
3 years ago