Benedikt Stebner
6ab5774b80
Introduce TextLine.Justify for custom justification
4 years ago
Benedikt Stebner
04b0cb096c
Change TextAlignmentProperty default
4 years ago
Benedikt Stebner
6502fa1ef7
More TextAlignment fixes
4 years ago
Benedikt Stebner
d26a989406
Add more alignment options
4 years ago
Benedikt Stebner
a794d1765a
Initial implementation of TextAlignment.Justify
4 years ago
Mario Uhlmann
bbe7d0abb2
foreach .. "items.OfType<" replaced with traditional for-loop
4 years ago
Mario Uhlmann
76765f7585
Old cache reset logic
4 years ago
Mario Uhlmann
1d0d1f2084
compile fix - ArgumentNullException.ThrowIfNull (net standard 2.0 fail)
4 years ago
Mario Uhlmann
45d726e0c9
Style improvements - primary OnCollectionChanged refactored (removed unnecessary cast and null checks in loops)
4 years ago
Benedikt Stebner
9cfac4dd3f
FIx GeometryGroup.Children parent handling
4 years ago
Benedikt Stebner
a9b2dec6b6
Remove redudant code
4 years ago
Benedikt Stebner
d64b858273
Simplify GeometryGroup.Children setter
4 years ago
Benedikt Stebner
71aba01b10
Implement FormattedText.BuildGeometry
4 years ago
Steven Kirk
553c4bc114
Read scaling when starting a drag operation.
Previous implementation didn't update the scaling when moving between monitors.
4 years ago
Steven Kirk
49ee55fca4
Make GridSplitter scaling aware.
When comparing sizes in `GridSplitter.MoveSplitter`, account for `UseLayoutRounding` and DPI scaling by using an epsilon that is the size of a device pixel.
4 years ago
Benedikt Stebner
020c8de59e
Fix mocks
4 years ago
Benedikt Stebner
73c06b323e
Skia - Correctly translate current position when multiple glyphs are added to a path
4 years ago
Benedikt Stebner
7a533700d0
Implement GlyphRun.BuildGeometry
4 years ago
Dan Walmsley
726ac748ed
restore changes.
4 years ago
Dan Walmsley
96931e2203
prevent excess layout passes in layout manager to catch other scenarios causing
excessive layout passes.
4 years ago
Giuseppe Lippolis
44ac72ce22
fix(AvaloniaSynchronizationContext): avoid clousure
4 years ago
Giuseppe Lippolis
3b9a34274a
feat(IDispatcher): Add void Post(Action<object> action,object arg, DispatcherPriority priority = default);
4 years ago
Dan Walmsley
51d158dc1b
clear layout jobs instead of explicit layout call.
4 years ago
Takoooooo
e2e5a75255
Fix typos in Matrix.cs
4 years ago
Max Katz
138beb0b46
Update FluentTheme.cs
4 years ago
Oxc3
38b8882526
mixing touch and pointer breaks gestures
4 years ago
Dariusz Komosinski
040fe4a603
Fix missing PooledList usage in Calendar.
4 years ago
Oxc3
dba9f9832e
Update AvaloniaView.razor
change to the razor code so the events are invoked by the AspNetCore.EventCallbackFactory rather then an action pointer attached to the event
4 years ago
Giuseppe Lippolis
5c7a399630
fix: Suppress CA1416 on Avalonia.Win32
4 years ago
Max Katz
a34e03d7f5
Fix android service initialization order
4 years ago
Nikita Tsukanov
9a82e65f53
[X11] Improve _NET_WM_SYNC_REQUEST handling
4 years ago
Nikita Tsukanov
8c6759990d
[X11] Added support for the basic version of _NET_WM_SYNC_REQUEST protocol
4 years ago
Patrick Tellier
e47b742d3e
Use own Pen (if set) in GeometryDrawing.GetBounds
4 years ago
Tim
164757c915
Make NumericUpDown nullable
4 years ago
kaminova
e446a66d6a
Fix calculation of inverted matrix
4 years ago
Max Katz
2a2779f248
Stop listening for IsCancel on button detached
4 years ago
Max Katz
bd3bb6e47e
Check if BindingValue actually has a value
4 years ago
Oxc3
a6d1e74b4f
RazorViewTopLevel will now test keys first on Code, then Key as a backup
This is an android specific hack. the chrome browser event sends an empty string on Code property so this will test both Code and Key properties to match to an Avalonia key. If the user is on a sane system then Code will be used to Key match, else it will failover to try and match with Key.
4 years ago
Steven Kirk
5520706a95
Fix formatting.
4 years ago
Steven Kirk
902703fbed
Allow nested styles inline in parent style XAML.
Removes the need to enclose nested styles in a `<Style.Children>` element in XAML.
4 years ago
Dan Walmsley
90287bbe0c
re-set popup.Parent if its no longer set.
4 years ago
Oxc3
595b62197c
Update ClipboardImpl.cs
added text clearing on ClearAsync
4 years ago
Oxc3
9cc69eec22
added ClipboardImpl with hooks to navigator.clipboard.readtext and naviagot.clipboard.writeText so Avalonia web can TextBox copy-paste works
4 years ago
daniel mayost
b6e66047f2
add fixes
4 years ago
Max Katz
5ab8b06dce
Reset popup parent on context menu target detached
4 years ago
Max Katz
6dbb828b60
Reset popup parent on flyout hidden
4 years ago
Oxc3
53f6b62b43
Update AvaloniaView.razor.cs
modified pointer up, down, move to handle touch device specifically and all other devices as mouse event
4 years ago
Todd
131c81ad22
replace mouse and touch events to pointer event to fix issue #8200
4 years ago
daniel mayost
c77c500bcd
fixes tests
4 years ago
daniel mayost
402790ba86
improve UpdateFlowDirection
4 years ago