Skip to content

Commit

Permalink
Add sort by label to category page
Browse files Browse the repository at this point in the history
  • Loading branch information
akv3sic committed Nov 5, 2023
1 parent b50e0fa commit 147837e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions MauiStoreApp/Views/CategoryPage.xaml
Expand Up @@ -64,7 +64,7 @@
Grid.Row="0"
Margin="30,20,20,5"
FontAttributes="Bold"
FontSize="20"
FontSize="18"
HorizontalOptions="Start"
IsVisible="{Binding IsBusy, Converter={StaticResource InvertedBoolConverter}}"
Text="{Binding Products.Count, Converter={StaticResource FirstLetterUppercaseConverter}, StringFormat='{0} proizvoda'}"
Expand All @@ -80,7 +80,16 @@
HorizontalOptions="End"
IsVisible="{Binding IsBusy, Converter={StaticResource InvertedBoolConverter}}"
JustifyContent="Start">
<StackLayout Orientation="Horizontal" Spacing="5">
<StackLayout
Margin="0,2,0,0"
Orientation="Horizontal"
Spacing="5">
<!-- sortiraj po label -->
<Label
FontAttributes="Bold"
Text="Sortiraj po:"
TextColor="DimGray" />

<!-- text -->
<Label FontAttributes="Bold" TextColor="{StaticResource Primary}">
<Label.Triggers>
Expand Down

0 comments on commit 147837e

Please sign in to comment.