Julien Lebosquain
960cb39414
Enable nullability in Controls.UnitTests ( #20373 )
4 months ago
Emmanuel Hansen
267d2470cc
Fix BringDescendantIntoView with respect to margins ( #19544 )
* remove margin deflation in BringDescendantIntoView and update related test to test cases with margin and no margin
* create transform relative to presenter, instead of child.
* update tests
* fix tests
8 months ago
Nikita Tsukanov
fedbb270c0
Make sure that tests inherit from ScropedTestBase ( #18690 )
1 year ago
Julien Lebosquain
aac83dcd53
Layout performance improvements ( #18315 )
1 year ago
Emmanuel Hansen
8a7945e492
Bring control into view only if control isn't properly visible in viewport ( #18359 )
* bring control into view only if control isn't currently in viewport
* fix margin add comments
* add more bring to view tests
1 year ago
Julien Lebosquain
acc3c3cc13
Fix ScrollContentPresenter incorrectly handling BringIntoView when offset is coerced ( #14913 )
* Added failing test for nested ScrollContentPresenters w/o rounding
* Fix SCP.BringDescendantIntoView with coerced offset
2 years ago
Julien Lebosquain
86bfc26ace
Fix ScrollContentPresenter incorrectly handling BringIntoView without changing its offset ( #14900 )
* Added failing test for nested ScrollContentPresenters
* Fix nested ScrollContentPresenter w/ content larger than viewport
2 years ago
Julien Lebosquain
515e0843de
Handle ScrollContentPresenter extent rounding errors
3 years ago
Julien Lebosquain
862c175725
Fix ScrollContentPresenter's child margin with layout rounding
3 years ago
Steven Kirk
363b2a0489
Fix failing tests.
`ScrollContentPresenter` now coerces offset so it can only be set after a viewport has been calculated.
6 years ago
Steven Kirk
4d01dacd77
Remove copyright headers.
Some of our files had them, some didn't. They serve no purpose legally so best to remove the ceremony.
6 years ago
Steven Kirk
f136eeccb1
Added failing test for #1408 .
8 years ago
Steven Kirk
8a80a724d7
Implement disabling of ListBox scrollbars.
Fixes #1344 .
8 years ago
Steven Kirk
46bcbacc53
Fix layout in ScrollContentPresenter.
- Share common layout logic between `Border`, `ContentPresenter` and `ScrollContentPresenter`
- Added a bunch of tests for things not previously convered
- Fix `ScrollContentPresenter` child layout
8 years ago
Steven Kirk
f22994a083
Added failing test for #1065 .
Also add setter for `ScrollContentPresenter.CanScrollHorizontally`.
8 years ago
Steven Kirk
4730ee1c41
Fix spelling of descendant.
While "descendent" is an acceptable English spelling, "descendant" is the common spelling.
9 years ago
Steven Kirk
5be41985c3
Renamed Perspex -> Avalonia
10 years ago
Steven Kirk
c052d389a9
Fix ScrollViewer.
Make various properties Direct properties, which gives them the correct
binding behavior.
10 years ago
Steven Kirk
c810f95904
Don't ApplyTemplate on nested templated controls...
...during ApplyTemplate. This was so that ItemsControls could their find
ItemsPresenters nested in other templated controls. Instead use
IItemsPresenterHost to make the presenter register itself with its
TemplatedParent.
10 years ago
Steven Kirk
bfc010f757
Initial implementation of logical scrolling.
aka IScrollInfo in WPF.
11 years ago
Steven Kirk
1ac814e534
Make ScrollViewer handle child margin.
11 years ago
Steven Kirk
bd6b6bad67
Added test for SCV.BringDescendentIntoView
11 years ago
Steven Kirk
fa872389c3
Make ScrollContentViewer.Offset get coerced.
Use the same logic as for ScrollViewer.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
d11d779414
Trying to fix capitalization of tests and docs AGAIN.
11 years ago
Steven Kirk
1a2fba4798
Revert "Fixed casing of Docs and Tests directories."
This reverts commit 845b28a2c2 .
11 years ago
Steven Kirk
845b28a2c2
Fixed casing of Docs and Tests directories.
11 years ago
Steven Kirk
aa147f0423
More stylecoping.
11 years ago
Steven Kirk
fceb9b1ba5
Fix ScrollContentPresenter measure/arrange.
11 years ago
Steven Kirk
67e6b2eaed
Fixed ScrollPresenter arrange.
And added tests because I think it's about the 5th time I've tried to
get this right...
11 years ago
Steven Kirk
62901f02d5
Started adding ScrollContentPresenter tests.
11 years ago