File tree 8 files changed +12
-11
lines changed
8 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 6
6
xmlns:mct=" http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
7
7
BackgroundColor =" Red" >
8
8
9
- <VerticalStackLayout Style =" {StaticResource PopupLayout}"
10
- Spacing =" 12" >
9
+ <VerticalStackLayout Spacing =" 12" >
11
10
<VerticalStackLayout .Resources>
12
11
<ResourceDictionary >
13
12
<Style x : Key =" Title" TargetType =" Label" >
Original file line number Diff line number Diff line change 8
8
xmlns:system=" clr-namespace:System;assembly=System.Runtime"
9
9
BackgroundColor =" White" >
10
10
11
- <VerticalStackLayout Style =" {StaticResource PopupLayout}"
12
- Spacing =" 12" >
11
+ <VerticalStackLayout >
13
12
<VerticalStackLayout .Resources>
14
13
<ResourceDictionary >
15
14
<Style x : Key =" Title" TargetType =" Label" >
Original file line number Diff line number Diff line change 2
2
<mct : Popup xmlns =" http://schemas.microsoft.com/dotnet/2021/maui"
3
3
xmlns : x =" http://schemas.microsoft.com/winfx/2009/xaml"
4
4
xmlns : mct =" http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
5
- x : Class =" CommunityToolkit.Maui.Sample.Views.Popups.RedBlueBoxPopup" >
6
- <Grid VerticalOptions =" Fill" HorizontalOptions =" Fill" BackgroundColor =" Red" Style =" {StaticResource PopupLayout}" >
5
+ x : Class =" CommunityToolkit.Maui.Sample.Views.Popups.RedBlueBoxPopup"
6
+ BackgroundColor =" Transparent" >
7
+ <Grid VerticalOptions =" Fill" HorizontalOptions =" Fill" Style =" {StaticResource PopupLayout}" BackgroundColor =" Red" >
7
8
<Grid WidthRequest =" 10" HeightRequest =" 10" VerticalOptions =" Start" HorizontalOptions =" Start" BackgroundColor =" Blue" />
8
9
<Grid WidthRequest =" 10" HeightRequest =" 10" VerticalOptions =" Start" HorizontalOptions =" End" BackgroundColor =" Blue" />
9
10
<Grid WidthRequest =" 10" HeightRequest =" 10" VerticalOptions =" End" HorizontalOptions =" Start" BackgroundColor =" Blue" />
Original file line number Diff line number Diff line change 6
6
xmlns : system =" clr-namespace:System;assembly=System.Runtime"
7
7
BackgroundColor =" White" >
8
8
9
- <VerticalStackLayout Style =" {StaticResource PopupLayout}"
10
- Spacing =" 12" >
9
+ <VerticalStackLayout Spacing =" 12" >
11
10
<VerticalStackLayout .Resources>
12
11
<ResourceDictionary >
13
12
<Style x : Key =" Title" TargetType =" Label" >
Original file line number Diff line number Diff line change 4
4
xmlns=" http://schemas.microsoft.com/dotnet/2021/maui"
5
5
xmlns:x=" http://schemas.microsoft.com/winfx/2009/xaml"
6
6
xmlns:mct=" http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
7
+ HorizontalOptions =" Center"
8
+ VerticalOptions =" Center"
7
9
BackgroundColor =" MediumPurple" >
8
10
9
11
<VerticalStackLayout Style =" {StaticResource PopupLayout}" >
Original file line number Diff line number Diff line change 6
6
xmlns:mct=" http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
7
7
BackgroundColor =" White" >
8
8
9
- <VerticalStackLayout Style =" {StaticResource PopupLayout}"
10
- Spacing =" 12" >
9
+ <VerticalStackLayout Spacing =" 12" >
11
10
12
11
<VerticalStackLayout .Resources>
13
12
<ResourceDictionary >
Original file line number Diff line number Diff line change 8
8
xmlns : viewModels =" clr-namespace:CommunityToolkit.Maui.Sample.ViewModels.Views"
9
9
x : DataType =" viewModels:UpdatingPopupViewModel" >
10
10
11
- <VerticalStackLayout Style = " {StaticResource PopupLayout} " Spacing =" 12" MinimumHeightRequest =" 350" >
11
+ <VerticalStackLayout Spacing =" 12" MinimumHeightRequest =" 350" >
12
12
<VerticalStackLayout .Resources>
13
13
<ResourceDictionary >
14
14
<Style x : Key =" Title" TargetType =" Label" >
Original file line number Diff line number Diff line change 5
5
xmlns : mct =" http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
6
6
xmlns : vm =" clr-namespace:CommunityToolkit.Maui.Sample.ViewModels.Views"
7
7
x : DataType =" vm:XamlBindingPopupViewModel"
8
+ HorizontalOptions =" Center"
9
+ VerticalOptions =" Center"
8
10
BackgroundColor =" White" >
9
11
10
12
<ContentView .BindingContext>
You can’t perform that action at this time.
0 commit comments