Steven Kirk
85f07274d4
Fixed failing test.
10 years ago
Steven Kirk
af696acc69
Removed gtkMode from Next/PreviousWord.
As we always want this behaviour.
10 years ago
Steven Kirk
1b4ebf5b1d
Renamed AsBinding -> ToBinding.
10 years ago
Dan Walmsley
c33a7da97b
Added todo comment for focus scopes.
10 years ago
Dan Walmsley
980a04b38f
Whitespace changes.
10 years ago
Dan Walmsley
3fea4d34f1
Restore focus of input element after alt-key has stolen focus.
10 years ago
Dan Walmsley
4c5c099ec3
Dont focus menu then alt key down event is followed
by another keydown event.
10 years ago
Steven Kirk
b0e0596500
Updated OmniXAML to allow '^' in markup extension.
10 years ago
Steven Kirk
b6c51b34ef
Renamed ValueHandler -> StreamPlugin
10 years ago
Steven Kirk
715149b1f5
Improve stream operator error message.
When a stream operator is applied to an unsupported type.
10 years ago
Steven Kirk
0ddf4caa95
Added a "stream" binding expression operator.
Which is now required when wanting to get the value produced by a
Task/IObservable rather than the Task/IObservable itself. Fixes #711 .
10 years ago
Ivan Kochurkin
f940456d3e
gtkMode = true by default in NextWord and PreviousWord methods.
10 years ago
Ivan Kochurkin
8eea7fb4bc
fixes #686 : "End" key works incorrectly in TextBox.
10 years ago
Steven Kirk
612839c13a
Fix virtualized list keyboard scrolling.
When cross-axis scrollbar is visible.
10 years ago
Dan Walmsley
256465cd73
Improved text rendering quality on skia backend.
10 years ago
Steven Kirk
7067fa0146
Cross-axis scrolling for virtualized lists.
There are still a few bugs around scrollbar behavior, and maybe Grid. To
see them, add a long item in the middle of VirtualizationTest's items,
resize the window to require a scrollbar and scroll up and down.
10 years ago
Robbie Knuth
507bc51b59
Handle special case of deleting carriage returns and linefeeds in multiline textboxes.
10 years ago
Robbie Knuth
6b9c7c1c47
Textboxes should take whitespace into account when calculating size.
10 years ago
Robbie Knuth
48760735ee
When a textbox gets focus via the tab key, select all text if the textbox is single line.
10 years ago
Steven Kirk
f15a136e00
Throw an exception if FontWeight <= 0
In FormattedText. Fixes #700 .
10 years ago
AndrewSt
795cb3bb9b
Change property LastState on TryGetLastState method and add HasState property in UndoRedoHelper
10 years ago
Steven Kirk
1b32a6aac3
Fixed unused member warnings.
That only show up on mono: seems the standard C# compiler silently
ignores most of these.
10 years ago
AndrewSt
03aa3c0b82
UndoRedoHelper.cs remove the commented-out code
10 years ago
Steven Kirk
ca17c50bf4
Treat warnings as errors.
In Release build in main Avalonia assemblies (couldn't do it in
Avalonia.Markup.Xaml due to warnings in OmniXaml). To do this, fixed a
number of warnings.
10 years ago
AndrewSt
e3f94011bc
Fix bug Pressing Ctrl-Z in a TextBox with no changes removes text #493
10 years ago
AndrewSt
c7b772b262
TextBox fix NullReference bug when Text=Empty and press Ctrl+A (SelectAll)
10 years ago
Steven Kirk
52438d64db
Don't try to invalidate an already closed window.
And make sure the window is hidden before `_window.Dispose` is called.
Fixes #729 .
10 years ago
Wiesław Šoltés
a508b594e8
Removed unused references
10 years ago
Wiesław Šoltés
edc0a86178
Use latest app builder
10 years ago
Steven Kirk
6e7fb76966
Allow movement to after last char with arrow keys.
Fixes #716 .
10 years ago
Steven Kirk
df2f685ec8
Set canvas property default values to NaN.
And add unit tests. Fixes #704 .
10 years ago
Steven Kirk
85e025da6b
Fixed spacing.
10 years ago
OronDF343
26f1f0b884
Fixed bad diff tool errors
10 years ago
OronDF343
f4c5293ece
Changed point name once again
10 years ago
OronDF343
66d0a56046
Fixed negative values on Win32
10 years ago
Jeremy Koritzinsky
c90cc4bf27
Implemented feedback.
10 years ago
Steven Kirk
2ab8941426
Move MaxClientSize to ITopLevelImpl.
This allows the maximum size calculation constraint to be applied when
an `ItemsPresenter` is in a `Popup`, meaning that all items don't get
materialized when the popup is shown. Fixes #719 , hopefully.
10 years ago
Jeremy Koritzinsky
3640d4dc1b
Implemented optimization to only construct a dictionary for priority levels if there is more than one in use. This drops memory consumption in most applications by a reasonable amount since most don't use multiple bindings on single properties (like animation and a local binding).
10 years ago
Jeremy Koritzinsky
1ae9b07764
Updated AppBuilder and added a documentation block about Avalonia Modules.
10 years ago
Wiesław Šoltés
c91ee0fb61
Use SKBitmap.Decode method
10 years ago
Wiesław Šoltés
7a6d9d3673
Updated SkiaSharp to version 1.54
10 years ago
Mikhail Kanygin
40560a8ee2
Fixed #600 : Incorrect TextBox selection coloring for non-left aligned text.
10 years ago
Steven Kirk
cbd672e2f6
Moved field to correct place.
10 years ago
Dan Walmsley
51c8542030
prevented second subscription of ListenForNonClientClick
10 years ago
Steven Kirk
b61adbfd64
Detach PopupRoot from logical tree...
When parent `Popup` is detached. Together with previous comit also fixes
#706 .
10 years ago
Steven Kirk
a0e880581e
Use ContentControl in DropDown template.
Instead of `ContentPresenter`. This fixes a memory leak whereby
`DropDown` wasn't correctly parenting the `Rectangle` created for
`SelectionBoxItem` when the selected item is a control. Fixes #706 .
10 years ago
Jeremy Koritzinsky
22ed332c70
Made UsePlatformDetect more modular and updated our platform assemblies to use this feature.
Implemented feedback and fixed iOS build.
10 years ago
Jeremy Koritzinsky
9a18ef0afa
Added support for auto-loading "Avalonia modules", which are classes that are auto-initialized via the instance constructor.
10 years ago
Steven Kirk
55d76d6cb9
Make sure panel is remeasured after add/remove.
After items are added or removed then the virtualizing panel must be
remeasured. It's usually not remeasured if the available size is the
same as on the last measure as that causes an infinite loop; this adds a
`ForceInvalidateMeasure` to `IVirtualizingPanel` which will force a
remeasure even if the available size hasn't changed. Also adds tests for
the behavior.
10 years ago
Jeremy Koritzinsky
397f0ad38b
Updated AppBuilder to have a way to track names of the windowing and rendering subsystems.
10 years ago