robloo
f03b2f64f9
Require Alt+Down to open flyout (closer to WinUI now)
4 years ago
robloo
4dddf12392
Use InternalIsChecked
4 years ago
robloo
37c31bbd89
Fixed some formatting and comments
4 years ago
robloo
1605d3a702
Add back wanted SplitButton changes after reverting commits
4 years ago
robloo
83720e9218
Revert "Minor refactoring to Button noticed when adding SplitButton"
This reverts commit c0bb7efa12 .
4 years ago
robloo
ee36313c3e
Revert "Move more Button property changed handling into OnPropertyChanged override"
This reverts commit 853d4140a3 .
4 years ago
Max Katz
07e2952750
SplitButton Avoid unnecessary pseudoclasses by using Avalonia-friendly approaches
4 years ago
robloo
8a529a6768
Add Default theme for SplitButton
4 years ago
robloo
67cfbe3732
Simplify style by integrating background and root Borders
4 years ago
robloo
7773a1d5b8
Remove ClipToBounds and set CornerRadius on each child
This will remove the clipping work-around and also better support future styles that may need border in children (Fluent v2)
4 years ago
robloo
3c8533467d
Use existing button property definitions
4 years ago
robloo
9b1dd0dca0
Copy over some Flyout logic from Button
4 years ago
robloo
853d4140a3
Move more Button property changed handling into OnPropertyChanged override
4 years ago
robloo
a57bdbc254
Implement secondary button span but disable it with commented reasons
4 years ago
robloo
1a40c45ec9
Fix handling of shared flyouts
4 years ago
robloo
c2cebb32fa
Pulled out 'child' Primary/SecondaryButton style
4 years ago
robloo
1b832871dc
Add disabled secondary-button-span style
4 years ago
robloo
3a3db396be
Add Design.PreviewWith to SplitButton.xaml
4 years ago
robloo
aa20c89e68
Set the DropDownGlyphPath Fill color directly in checked states
This is required for Avalonia after the switch to Path instead of TextBlock as in WinUI. WinUI glyph TextBlock just inherits the foreground color of the secondary button so doesn't need this.
4 years ago
robloo
51e9ce9ef6
Improve comments
4 years ago
robloo
874a7f9a49
Fix incorrect names in SplitButton Styles
4 years ago
robloo
dcd85a8126
Make PseudoClass names class constants
4 years ago
robloo
d0dfac8a8b
Remove ':normal' PseudoClass
4 years ago
robloo
aa46b05881
Rework/rename PseudoClasses to match standards
4 years ago
robloo
7bdee77bf3
Make section heading comments smaller
4 years ago
robloo
c0bb7efa12
Minor refactoring to Button noticed when adding SplitButton
4 years ago
robloo
29865672e2
Add ToggleSplitButton
4 years ago
robloo
4322e216c4
Remove code that shouldn't be there
4 years ago
robloo
7a9dffa586
Fix ICommandSource comments
4 years ago
robloo
b3049cf664
Add missing space
4 years ago
robloo
63f1aa8cd6
Add Fluent v1 default style for SplitButton
4 years ago
robloo
ac1d261d4c
Tabs to spaces
4 years ago
robloo
619d889b39
Add initial SplitButton code
4 years ago
ahopper
cff0c680ac
remove lock from X11Window
4 years ago
Sergey Mikolaytis
90c846007a
Requested Changes
4 years ago
Max Katz
b3bcfa128a
Update src/Web/Avalonia.Web.Blazor/AvaloniaView.razor.cs
4 years ago
Dan Walmsley
41aa6328db
force initial render.
4 years ago
Dan Walmsley
9be730d69d
butter smooth resizing.
4 years ago
Dan Walmsley
a11b3848b2
support resizing canvas seperately.
4 years ago
ingen084
3908e4d71d
Fix text wrapping behavior ( #7397 )
* Allow one-character runs line breaks
* Remove unuseful ignored nullable
* Prevent redundant allocations
* Fix empty line handling
* Update TextFormatterImpl.cs
Co-authored-by: Benedikt Stebner <b.stebner@outlook.de>
Co-authored-by: Benedikt Stebner <Gillibald@users.noreply.github.com>
4 years ago
Wiesław Šoltés
1c3f243601
Fix UseRenderTransformProperty
4 years ago
Dan Walmsley
2b263544e5
correctly resize.
4 years ago
Dan Walmsley
efb366c838
fix scaling and resizing.
4 years ago
Dan Walmsley
21a76d4765
fix render target corruption detection.
4 years ago
Dan Walmsley
ed35eeeb69
allow MainWindow close mode and LastWindowClose mode to be cancellable.
4 years ago
Dan Walmsley
aae3b70180
fix build.
4 years ago
Dan Walmsley
2a4a1b28b1
add conditional force shutdown.
4 years ago
Dan Walmsley
15def96af4
fix quit menu item osx.
4 years ago
Dan Walmsley
aeee9d165f
add TryShutdown method.
4 years ago
Dan Walmsley
eb6750822c
Fix ClassicDesktop Lifetime so that ShutdownRequested event is raised even with programatic calls to Shutdown.
4 years ago