Deadpikle
1f18bd3e66
Only calculate caret index on pointer pressed if left mouse down
7 years ago
Deadpikle
f98ee717f5
Adjusted TextBox right-click behavior
WPF does not allow dragging to change selection for right clicks
Furthermore, it only changes the selection on mouse up of right click, not mouse down, and only if the user clicked outside the current selection.
This commit adjusts TextBox selection behavior to work like WPF
7 years ago
Steven Kirk
d6d3704e8b
Update ncrunch config.
Ignore samples.
7 years ago
Steven Kirk
22e3195db3
Merge pull request #3651 from MarchingCube/opt-calendar-bench
Remove disposable allocations from routed event AddHandler in the common case.
7 years ago
Steven Kirk
3f43c3c959
Merge branch 'master' into opt-calendar-bench
7 years ago
Dariusz Komosiński
6853c8e807
Merge pull request #3652 from Gillibald/fixes/TextBlock
TextBlock fixes
7 years ago
Benedikt Schroeder
55b4a1930b
Cleanup invalidation of measure and render
7 years ago
Benedikt Schroeder
6c948af49d
Fix TextWrapping
7 years ago
Benedikt Schroeder
2d78458f74
Add padding
7 years ago
Dariusz Komosinski
35bce7b031
Avoid creating handler unsubscribe disposables unless explicitly requested.
7 years ago
Dariusz Komosinski
0ee508bfa8
Fix CalendarBenchmark not working with new text layout.
7 years ago
Steven Kirk
881c103c6e
Merge pull request #3602 from AvaloniaUI/feature/menuitem-inputgesturetext
Add MenuItem.InputGestureText.
7 years ago
Steven Kirk
d4165b74a6
Use words for arrow keys.
7 years ago
Dariusz Komosiński
2dcd0f2030
Merge branch 'master' into feature/menuitem-inputgesturetext
7 years ago
Steven Kirk
9f551ac410
Merge pull request #3607 from AvaloniaUI/fixes/3176-event-route
Build event routes before raising events.
7 years ago
Steven Kirk
557b1eb3a6
Allow overriding inner menu padding.
7 years ago
Steven Kirk
8ffe5fb88e
Added a few more keys to key gesture converter.
7 years ago
Steven Kirk
e53078bc0d
Expose platform KeyGesture conversion as static method.
7 years ago
Steven Kirk
0b3e4101e2
Give input gesture TextBlock a name.
7 years ago
Steven Kirk
980b4dba87
Merge branch 'master' into feature/menuitem-inputgesturetext
7 years ago
Steven Kirk
6f6522e287
Make EventSubscription a readonly struct.
7 years ago
Dariusz Komosiński
339107c1cd
Merge branch 'master' into fixes/3176-event-route
7 years ago
Dariusz Komosiński
a65a64ad9d
Merge pull request #3571 from AvaloniaUI/update/net31
Update to .net core 3.1.
7 years ago
Dariusz Komosiński
0a6c54d87f
Merge branch 'master' into update/net31
7 years ago
Steven Kirk
a70f7749a8
Merge pull request #3636 from AvaloniaUI/refactor/styling
Refactor styling
7 years ago
Steven Kirk
146fd8f147
Merge branch 'master' into refactor/styling
7 years ago
Dariusz Komosiński
3a164c233d
Merge branch 'master' into feature/menuitem-inputgesturetext
7 years ago
Steven Kirk
458a0c62fe
Merge pull request #3646 from Gillibald/fixes/TextPresenterInvalidate
Call InvalidateVisual when FormattedText is invalidated
7 years ago
Benedikt Schroeder
0c96a1e48e
Call InvalidateVisual when FormattedText is invalidated
7 years ago
Jumar Macato
37a02863aa
Merge branch 'master' into feature/menuitem-inputgesturetext
7 years ago
Steven Kirk
df3fd0472e
Detach grid hack on logical tree detachment.
Doing it on visual tree detachment caused the menu to bug out when showing a submenu more than once.
7 years ago
Steven Kirk
71aca04e51
Improve platform display of KeyGesture.
7 years ago
Jumar Macato
40e853d6d8
Merge pull request #3642 from MarchingCube/optimize-affects-render
Avoid IAffectsRender subscribe attempts on values that can't implement it
7 years ago
Jumar Macato
7f6b176bd5
Merge branch 'master' into optimize-affects-render
7 years ago
Benedikt Stebner
1347f739f9
Merge pull request #3643 from Gillibald/fixes/TextBoxTextChanged
Invalidate TextBox when text changes by binding
7 years ago
Benedikt Stebner
6c18e2d811
Merge branch 'master' into fixes/TextBoxTextChanged
7 years ago
Benedikt Schroeder
a6e86ae03e
Invalidate TextBox when text changes by binding
7 years ago
Dariusz Komosinski
1027168c61
Remove omen of bad performance.
7 years ago
Dariusz Komosinski
1909d7a778
Avoid IAffectsRender subscribe attempts on values that can't implement it.
7 years ago
Steven Kirk
022294ec7a
MenuItem.InputGestureText -> InputGesture
Changed `MenuItem`'s `string InputGestureText` property to `KeyGesture InputGesture` and gave it a value converter in the default template, because the string representation of a key gesture depends on platform, and putting platform-specific behavior into `ToString` isn't a good idea.
7 years ago
Steven Kirk
4cd60f46b4
Merge branch 'master' into feature/menuitem-inputgesturetext
7 years ago
Dariusz Komosiński
655d1ba34b
Merge branch 'master' into update/net31
7 years ago
Benedikt Stebner
57586bd4a2
Merge pull request #3638 from Artentus/patch-1
Fix padding inconsistency
7 years ago
Dariusz Komosiński
d6226f1933
Merge branch 'master' into fixes/3176-event-route
7 years ago
Mathis Rech
c28046cbbc
Fix padding inconsistency
The padding is always added to the side the headers are at, except when the headers are right, when the padding is at the bottom. I believe this was a typo.
7 years ago
Steven Kirk
fece964458
Remove commented-out code.
7 years ago
Steven Kirk
aea4bce0dd
Pass initial size for list.
7 years ago
Steven Kirk
a5b70889e1
Update Avalonia package to .NET core 3.1.
7 years ago
Steven Kirk
5dc159dc42
Update Avalonia.DesktopRuntime to .NET core 3.1.
7 years ago
Steven Kirk
54bbcf1806
Install nuke 0.24.
7 years ago