Problem with Layout

0 Answers 92 Views
General Discussions
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 16 Mar 2022, 10:14 AM | edited on 16 Mar 2022, 10:21 AM

Hi,

When I replace this HorizontalStackLayout with FlexLayout all data below HorizontalStackLayout  (see screenshot 1) disappear why?

I attached 2 all the view xaml.
 <FlexLayout Direction="Column"
                AlignItems="Center"
                JustifyContent="SpaceEvenly">     

 


          <HorizontalStackLayout  Grid.Row="1" Grid.Column="0"  HorizontalOptions="Center" VerticalOptions="CenterAndExpand" >
                    <telerik:RadButton  x:Name="totalFiles"
                        WidthRequest="140"
                        HeightRequest="80"                                
                        FontSize="Micro"
                        TextColor="Black"
                        BorderWidth ="2"
                        BorderColor="Grey"
                        BackgroundColor="White"
                        Margin="15" 
                        HorizontalContentAlignment="Center"
                        Text="{Binding TotalFiles, Mode=TwoWay}"/>
                    <telerik:RadButton  x:Name="pushFiles"
                        WidthRequest="140"
                        HeightRequest="80"                                
                        FontSize="Micro"
                        TextColor="Black"
                        BorderWidth ="2"
                        BorderColor="Grey"
                        BackgroundColor="White"
                        Margin="15" 
                        HorizontalContentAlignment="Center"
                        Text="{Binding PushedFiles, Mode=TwoWay}"/>
                    <telerik:RadButton  x:Name="pulledFiles"
                        WidthRequest="140"
                        HeightRequest="80"                                
                        FontSize="Micro"
                        TextColor="Black"
                        BorderWidth ="2"
                        BorderColor="Grey"
                        BackgroundColor="White"
                        Margin="15" 
                        HorizontalContentAlignment="Center"
                        Text="{Binding PulledFiles, Mode=TwoWay}"/>
                    <telerik:RadButton  x:Name="failedFiles"
                        WidthRequest="140"
                        HeightRequest="80"                                
                        FontSize="Micro"
                        TextColor="Black"
                        BorderWidth ="2"
                        BorderColor="Grey"
                        BackgroundColor="White"
                        Margin="15" 
                        HorizontalContentAlignment="Center" 
                        Text="{Binding FailedFiles, Mode=TwoWay}"/>
                </HorizontalStackLayout>
  

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Share this question
or