Benedikt Schroeder
c9a98da01a
Fix mandatory break
6 years ago
Benedikt Schroeder
f377172947
Introduce line break tests
6 years ago
Steven Kirk
f20039070d
Fix a couple of bugs in LayoutManager.
- Clear `_running` at the end of all layout passes, not at the end of the first set of 3 attempts
- Fix a bizarre anti-copy-pasta in `RaiseEffectiveViewportChanged` where we were comparing `startCount` to the size of the measure queue twice instead of the arrange queue
6 years ago
Steven Kirk
fac5eb5eee
Show DevTools as child window.
6 years ago
Steven Kirk
b41c1babe9
Close DevTools when inspected window closes.
6 years ago
Benedikt Schroeder
4fe771786e
Update to Unicode 13.0
6 years ago
Maksym Katsydan
bd29bc333a
Remove duplicated colors from fluent theme editor with non-standard values
6 years ago
Maksym Katsydan
6e32ad7f74
Add ToolTipContentMaxWidth to ToolTip
6 years ago
Steven Kirk
89c361f6a4
Unsubscribe from stuff in DevTools MainViewModel.
6 years ago
Steven Kirk
86e571d122
Dispose class change subscriptions.
6 years ago
Steven Kirk
b6d7c8a5b7
Refactor DevTools logical/visual tree nodes.
- Previously we created a node for every logical/visual control immediately, now only create them when the `TreeView` requests nodes
- Dispose the child node collections when the DevTools window closes
6 years ago
Nikita Tsukanov
8c851b440e
OSX various popup focus shenanigans
6 years ago
Nikita Tsukanov
cba236d9a3
OSX impl for HideWithSize
6 years ago
Nikita Tsukanov
be73db7beb
Dispose the renderer before detaching visuals from the tree (perf)
See https://github.com/AvaloniaUI/Avalonia/issues/3622
6 years ago
Steven Kirk
5cfc20abb2
Removed unused call to IsSelectedWithPartialAt.
6 years ago
Jumar Macato
cc2ddce5ab
Fix access denied scenario in windows managed dialog
6 years ago
Steven Kirk
5f77d26c42
Don't throw when a BringIntoView received from non-descendent.
The event can come from a child `Popup`.
Fixes #4176 .
6 years ago
Steven Kirk
50af733eac
Remove unused method.
6 years ago
Steven Kirk
13d828cdcc
Duplicate listeners before raising EffectiveViewportChanged.
6 years ago
Steven Kirk
02b2f3dc15
Remove listeners backwards in case of duplicates.
6 years ago
Jumar Macato
441590f549
change in DispatcherTimer instead.
6 years ago
Jumar Macato
400523da95
Fix dev tools crashing on X11.
6 years ago
Steven Kirk
4b503f8b37
Use EffectiveViewportChanged in ViewportManager.
6 years ago
Steven Kirk
64174f37af
Tweak effective viewport calculation.
This logic isn't in the UWP version as it only clips to scrollports.
6 years ago
Steven Kirk
d0e74b7dbd
Include transforms in effective bounds.
6 years ago
Steven Kirk
b5da0310f1
Update tests from UWP tests.
UWP tests are at: https://github.com/grokys/EffectiveBoundsTestsUWP
Try to make the Avalonia tests match them as closely as possible in order to easily port them across.
6 years ago
Steven Kirk
9c7aeaf713
Initial implementation of EffectiveViewportChanged.
6 years ago
Rustam Sayfutdinov
8e7d785419
Merge condition
6 years ago
Rustam Sayfutdinov
b4b54fe6a3
Swap condition
6 years ago
Rustam Sayfutdinov
d7c3c03ccf
Rewrite check targetVal
6 years ago
Rustam Sayfutdinov
3157dbd133
Rewrite condition by if not ISolidColorBrush
6 years ago
Rustam Sayfutdinov
c0d192a8f6
Rewrite getting targetVal
6 years ago
Wiesław Šoltés
cbbbdc3c73
Add missing Compact.xaml resource to project
6 years ago
Rustam Sayfutdinov
be4f4ed1c2
Fix using pattern matching
6 years ago
Rustam Sayfutdinov
4aaa48739c
Fix skip ISolidColorBrush when animation
6 years ago
Steven Kirk
2807cbe6cb
Make LayoutManager disposable.
And dispose it on `TopLevel` close: this allows layout passes to be run before a window/popup is shown but prevents it being run after close.
6 years ago
Nikita Tsukanov
6149cd69b5
Fixed compilation with old compiler versions
6 years ago
Nikita Tsukanov
26863755d8
Synchronize native control size even if its not visible (X11/Win32)
6 years ago
Steven Kirk
f14d73f5c9
Disable render layers.
We need a new renderer :/
Fixes #2244
6 years ago
Nikita Tsukanov
7d02564e27
build?
6 years ago
Nikita Tsukanov
16625c164c
build?
6 years ago
Steven Kirk
536a2f7c62
Check correct root in invalidation calls.
6 years ago
Steven Kirk
d3c3741bec
No longer need to pass root to ExecuteInitialLayoutPass.
6 years ago
Steven Kirk
7694fc0484
Don't run layout passes on hidden TopLevels.
To do this we need to pass the root to `LayoutManager`.
Fixes #4161
6 years ago
Dariusz Komosiński
d451bb36b5
Use exception instead of an assert.
6 years ago
Luis von der Eltz
c4ef08206e
Implementing support for IsTabStop attached property
6 years ago
Steven Kirk
d0edfa0447
Close submenu when pointer leaves.
6 years ago
Wiesław Šoltés
83b0b82bea
Add compact density style
6 years ago
Dan Walmsley
864478a38e
workaround implicit conversion x:Double to GridLength
6 years ago
Dariusz Komosinski
7123747a4b
Enable nullable, and use expression bodied properties.
6 years ago