Steven Kirk
1c88b3bd85
Fix scrolling to item when size == 0,0
When virtualized presenter size == 0,0 no containers will be
materialized so no container will be found.
Fixes #591 .
10 years ago
Steven Kirk
dd728dae5b
Fix measuring to infinity when scrolled to end.
When a virtualized list was scrolled to the bottom and then the list was
measured with a size larger than needed to fit all items (in this case
we use infinity) then the virtualizer tries to go backwards to add items
at the top of the currently visible items by setting `step = -1`;
however it didn't check whether the current index was < 0.
Fixes #589 .
10 years ago
donandren
cfd6524031
added failing unit test for issue #589 and #591
10 years ago
Steven Kirk
de2916e03c
Fix DevTools hit testing.
Filter out invisible controls.
10 years ago
Steven Kirk
3c4b8cdf90
Implement input hit testing on top of visual layer.
10 years ago
Steven Kirk
1824175e6b
Use render bounds in visual hit testing.
It was previously used in input hit testing but not in visual hit
testing.
10 years ago
Steven Kirk
dc60d4bfb3
Allow overriding ContentPresenter control creation.
10 years ago
Steven Kirk
72cb1cf311
Don't reapply templates unnecessarily.
When detaching and re-attaching to the same logical tree.
10 years ago
Steven Kirk
4961a2eb1d
Merge pull request #582 from Seeker1437/master
Adds DateTimeTypeConverter
10 years ago
Seeker1437
9ba1df75a5
Adjusts Namespace Ordering [skip-ci]
10 years ago
Seeker1437
0941ba7afa
Adds DateTimeTypeConverter
10 years ago
Steven Kirk
f35b5cb029
Merge branch 'pr/574'
10 years ago
Steven Kirk
9f009eb4f2
Fixed failing namespace registry test.
10 years ago
Steven Kirk
34a6bb7f26
Merge branch 'master' into pr/558
10 years ago
Steven Kirk
e429031173
Merge pull request #579 from donandren/pathparser
Path parser fixes
10 years ago
donandren
0be9f0e648
fixed PathMarkupParser now parsing negative values without separator
10 years ago
donandren
b049a5787f
added failing test for PathMarkupParser
10 years ago
Steven Kirk
c3220b92f1
Don't try to show non-materialized item.
Also added null checks for all ControlExtension methods. Fixes #578 .
10 years ago
Steven Kirk
7e3082dcec
Prevent stack overflow in focus code.
When a focus scope had null as its focused element, a stack overflow was
occurring. Fixes #577 .
10 years ago
Steven Kirk
c554467d13
Invalidate measure when control removed
When a control's parent changes, invalidate its measure and the measure
of all descendents.
10 years ago
Steven Kirk
5a72ed8586
Don't add virt items when attached to visual tree.
Don't add virtualized items before the virtualizing panel is attached to
the visual tree, as bindings etc won't be set and so measurement will
produce 0,0 causing all items to be materialized.
10 years ago
Steven Kirk
f8f6e8d079
Clarified documentation.
10 years ago
Nikita Tsukanov
4be6633d0a
Changed travis notification settings
10 years ago
Nikita Tsukanov
1adc5f3e9d
Added travis build status
10 years ago
Nikita Tsukanov
f94378bd08
Merge pull request #576 from wieslawsoltes/TravisCI
Initial support for Travis CI
10 years ago
Wiesław Šoltés
15264a974a
Added initial support for Travis CI
10 years ago
Steven Kirk
d581bfe69e
Limit initial measure of virtualized list.
Prevents all items being materialized when virtualized control is
measured with infinity.
10 years ago
Steven Kirk
ca305adea0
Don't send resize message on minimize.
Fixes #571 .
10 years ago
Steven Kirk
169ffca591
Merge branch 'master' into pr/553
Conflicts:
tests/Avalonia.RenderTests/Avalonia.RenderTests.projitems
10 years ago
Steven Kirk
e702043bf0
Added OpacityMask example to ControlCatalog.
10 years ago
Nikita Tsukanov
3eb6901d69
Merge pull request #559 from donandren/skiaimprovements
Skia improvements
10 years ago
donandren
3e2c6a3cd5
using structs to avoid memory allocations when save/restore paint state in Skia DrawingContextImpl
10 years ago
donandren
6ac363bf47
avoid passing delegates here and there in rendering code - fixed in FormattedText.Draw
10 years ago
donandren
39db3f0d0f
implemented SetForegroundBrush in skia FormattedTextImpl and refactored
10 years ago
donandren
71f52aa915
fixed left,right text align hittesting skia FormattedTextImpl
10 years ago
donandren
8110d1bc64
fixed HitTestTextRange in skia FormattedTextImpl
10 years ago
donandren
b59a1107eb
Skia DrawingContextImpl HitTestPoint and HitTestTextPosition passing tests
10 years ago
donandren
aba9f1b01e
WIP: added new tests for HitTestPosition in FormattedTextImplTests
10 years ago
donandren
6c423ae4c8
properly handle HitTestPoint in skia FormattedTextImpl
10 years ago
donandren
5b0bc5417a
WIP: added some tests for Different Font Sizes in FormattedTextImpl
10 years ago
donandren
5d461bdc74
WIP: added unit tests for right and left align of FormattedTextImpl
10 years ago
donandren
5fbceb065c
WIP: more tests for HitTestTextPosition in FormattedTextImpl
10 years ago
donandren
fc266209a4
WIP: more precise Line Height in Skia FormattedTextImpl
10 years ago
donandren
af07f02ec3
WIP: added hittest range tests for FormattedTextImpl and code to shared project
10 years ago
donandren
a4c978c319
FormattedTextImpl tests for measue and HitTestPoint
10 years ago
donandren
c84b5d863d
skia new line and line break rendering improvements
10 years ago
donandren
6161bcb886
center and right alignment support in skia FormattedTextImpl
10 years ago
donandren
9d971a604e
improved text handling of \r\n in skia FormattedTextImpl
10 years ago
donandren
730c248dde
fixed text foreground opacity rendering for gradient brushes in skia
10 years ago
donandren
4aa0d003b0
fixed bitmap render and opacity
10 years ago