Skip to content

Commit 479c7b8

Browse files
committed
Alignment fix and Update Readme file
1 parent 7ee38bc commit 479c7b8

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ The Syncfusion® Toolkit is built with community collaboration in mind, aiming t
4343
| | Bottom Sheet | Slides up from the bottom of the screen to display additional content or functionality. |
4444
| Layout | Carousel | Smooth, touch-enabled sliding galleries for showcasing images or featured content. |
4545
| | Text Input Layout | Enhances input fields with floating labels and validation, improving user interaction. |
46+
| | Cards |Create dismissible cards or a stack of cards, and customize their background, borders, and corners. |
4647
| Buttons | Chips | Interactive tags for filtering, labeling, or visual options, perfect for e-commerce or task management. |
4748
| | Segmented Control | Quickly switch between views or categories, ideal for apps with multiple layout options. |
4849
| | Button | Customizable button control with icon support, background images, and visual state styling. |

maui/samples/Gallery/Samples/Calendar/FlightBooking/Behavior/FlightBookingBehavior.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,6 @@ void RadioButton_CheckedChanged(object? sender, CheckedChangedEventArgs e)
299299
return;
300300
}
301301

302-
//returnStackLayout.Children.Clear();
303302
foreach (var child in _returnStackLayout.Children.ToList())
304303
{
305304
_returnStackLayout.Children.Remove(child);
@@ -350,11 +349,8 @@ void RadioButton_CheckedChanged(object? sender, CheckedChangedEventArgs e)
350349
{
351350
_fromLabel1.Text = _selectedDate!.Value.Date.ToString("dd MMM yyyy");
352351
}
353-
#if MACCATALYST
354-
_views.Children.Add(_fromLabel1);
355-
#else
352+
356353
_views.Content = _fromLabel1;
357-
#endif
358354

359355
_trailingLabel = new Label
360356
{

maui/samples/Gallery/Samples/Calendar/FlightBooking/View/FlightBooking.xaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,18 @@
4949
<OnPlatform x:TypeArguments="Thickness">
5050
<On Platform="MacCatalyst" Value="5,0,0,0"/>
5151
<On Platform="iOS" Value="5,0,0,0" />
52-
<On Platform="Android" Value="5,0,10,0" />
53-
<On Platform="WinUI" Value="5,0,0,0"/>
52+
<On Platform="Android" Value="10,0,10,0" />
53+
<On Platform="WinUI" Value="15,0,0,0"/>
5454
</OnPlatform>
5555
</RadioButton.Margin>
5656
</RadioButton>
5757
<RadioButton x:Name="roundTrip" Content="Round-Trip" GroupName="TripType">
5858
<RadioButton.Margin>
5959
<OnPlatform x:TypeArguments="Thickness">
60-
<On Platform="MacCatalyst" Value="70,0,0,0"/>
61-
<On Platform="iOS" Value="-10,0,0,0" />
62-
<On Platform="Android" Value="-15,0,40,0" />
63-
<On Platform="WinUI" Value="80,0,0,0"/>
60+
<On Platform="MacCatalyst" Value="40,0,0,0"/>
61+
<On Platform="iOS" Value="5,0,0,0" />
62+
<On Platform="Android" Value="5,0,40,0" />
63+
<On Platform="WinUI" Value="60,0,0,0"/>
6464
</OnPlatform>
6565
</RadioButton.Margin>
6666
</RadioButton>

0 commit comments

Comments
 (0)