walterlv
811e74062c
Fix a comment so that is is more readable.
8 years ago
Benedikt Schroeder
0da9083ba3
Added comments
8 years ago
walterlv
e4b9f9ff40
Fix more spelling and grammar issues.
8 years ago
walterlv
b09bd2f2f0
Fix some spelling and grammar issues.
8 years ago
walterlv
03a97df75c
Fix some words spell.
8 years ago
walterlv
3453c6ed99
Fix the calendaritem style.
8 years ago
walterlv
b2a868dd3a
Finish the AggregateAdditionalConventionsForStars method algorithm.
8 years ago
walterlv
e58a0641bf
If the children are in the same column/row, the Grid will not incorrectly aggregate their widths/heights.
Instead, it will calculate the Max width/height.
8 years ago
walterlv
a4cb49fa51
Fix the column/row span layout.
9 years ago
walterlv
f334ef0be2
Add debugger info for easier debug.
9 years ago
walterlv
2af42057c1
Fix the wrong Grid.GetSafeSpan index.
9 years ago
walterlv
42bfe0bd4e
Mark Grid layout methods pure.
9 years ago
walterlv
e280652922
Add debugger display or the grid layout result.
9 years ago
walterlv
382ef6e396
Add more comment for grid layout code.
9 years ago
walterlv
a6fe9928a1
Make all unit test for grid pass.
9 years ago
walterlv
2052d53d68
Order the grid codes and make most unit test passed.
9 years ago
walterlv
4768124962
Fix the AggregateAdditionalConventionsForStars method.
9 years ago
walterlv
ed01e59fc2
Add document comment for some helper methods.
9 years ago
walterlv
0110f7af65
Add some comments for GridLayout helper classes.
9 years ago
walterlv
63af32bc65
Add some document comments for GridLayout.
9 years ago
walterlv
163744b89b
Add support for layout that the children have multi span but also have desired size.
9 years ago
walterlv
cae8a2ab5c
Add not enough length unit test for all test facts.
9 years ago
walterlv
a0518955f5
Grid layout support positiveinfinity measure.
9 years ago
walterlv
fc73d7cc37
When the available length is not enough, clip the measure list.
9 years ago
walterlv
e403299bb2
Use a new algorithm to layout Grid.
9 years ago
walterlv
b135f988e4
Try to use new algorithm to measure and arrange Grid.
9 years ago
walterlv
c32c619322
Add column support for grid layout.
9 years ago
walterlv
b9d71860ff
Add a new version of Grid layout. and its performance may be better than the original one.
9 years ago
walterlv
e56f1ab83a
If the MinHeight/MinWidth is set and it affects the Grid layout, a new calculation will be triggered. (Not only the MaxHeight/MaxWidth)
9 years ago
walterlv
5cd5a044eb
Add comments for Segment of Grid.
9 years ago
walterlv
38e63d8dc8
Fix issue#1516 MinHeight/MinWidth deos not work correctly in Grid.ColumnDefinition/RowDefinition.
9 years ago
Steven Kirk
f8b4bf6df3
Added new keyword.
8 years ago
Benedikt Schroeder
5fe6276228
Finished skia support
8 years ago
Steven Kirk
7588b16044
Reworked TypeConverters.
I started fixing #1559 and decided to rework our `TypeConverter` infrastructure a bit.
This PR renames `AvaloniaDefaultTypeConverters` to `AvaloniaTypeConverters` and allow registration of 3rd party converters here.
`AvaloniaTypeConverters` improves upon the type converter functionality in the BCL by providing the followinng extra functionality:
- Allow registering non-constructed generic types (such as `AvaloniaList<>`) - `AvaloniaTypeConverters` will do the sensible thing and create an `AvaloniaListConverter<T>` with the correct type
- If no type converter is provided, look for a a static `Parse(string)` method which can be used to create an implicit type converter
This allows us to remove a bunch of `TypeConverter`s which just called the relevant `Parse` method.
Fixes #1559
8 years ago
Benedikt Schroeder
756db86316
res support finished
8 years ago
Wiesław Šoltés
3fb17af571
Remove null check
8 years ago
Wiesław Šoltés
7b56a5cc1c
Remove code duplication
8 years ago
Wiesław Šoltés
ee0c3dfa94
Add GetPosition method to DragEventArgs
8 years ago
Jumar Macato
e05cacd35f
Optimized Easing Functions courtesy of @KvanTTT
8 years ago
Benedikt Schroeder
ff230d4360
resm filename globbing
8 years ago
Jumar Macato
e11f087b0b
Fix protected overrides and restore IKeyFrame interface.
8 years ago
Jumar Macato
517622d1f7
Addressed all review notes by sir @grokys .
8 years ago
Jumar Macato
8ddedc49e4
Moved out KeyFrames and Transitions namespaces back
to Avalonia.Animations
8 years ago
Jumar Macato
f8dc172416
Fix Avalonia.Serilog to Avalonia.Logging.Serilog
8 years ago
Jumar Macato
73f408de21
Fix Avalonia.Interactive to Avalonia.Interactivity
8 years ago
Jumar Macato
9aa93ee6d9
Fix merge conflict
8 years ago
Jumar Macato
b161593994
Moved version and xaml props to build directory.
added Directory.Build.Props to src & samples directory.
cleaned up Avalonia.Markup.csproj. Will do more test to do the same on
Avalonia.Markup.Xaml.
8 years ago
Steven Kirk
d9ca27ba87
Stop renderer on Window minimize.
Adds a new `WindowStateChanged` event to `IWindowImpl` and when a window is minimized, stops the associated renderer (only implemented on win32 currently).
8 years ago
Steven Kirk
6a6662df92
Fix attached member namespaces resolution.
Updated Portable.Xaml to include fix from https://github.com/cwensley/Portable.Xaml/pull/96
8 years ago
Steven Kirk
3f617a9081
FIx failing designer support test.
`Assembly.LoadFile` doesn't like relative paths.
9 years ago