Skip to content

Commit

Permalink
adding IconSmall style
Browse files Browse the repository at this point in the history
  • Loading branch information
BeepBeepBopBop committed Nov 22, 2024
1 parent a2a7f1e commit 729a094
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
5 changes: 5 additions & 0 deletions LM-Kit-Maestro/Resources/Styles/Styles.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@
</Setter>
</Style>

<Style TargetType="Label" Class="IconSmall">
<Setter Property="FontFamily" Value="FASolid"/>
<Setter Property="FontSize" Value="9"/>
</Style>

<Style TargetType="Label" Class="Icon">
<Setter Property="FontFamily" Value="FASolid"/>
<Setter Property="FontSize" Value="12"/>
Expand Down
4 changes: 2 additions & 2 deletions LM-Kit-Maestro/UI/ChatSettingsView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
<Grid RowDefinitions="*, auto">
<HorizontalStackLayout Padding="16" Spacing="8">
<Label Text="General settings"/>
<Label VerticalOptions="Center" StyleClass="Icon">
<Label VerticalOptions="Center" StyleClass="IconSmall">
<Label.Triggers>
<DataTrigger TargetType="Label" Binding="{Binding Source={x:Reference generalSettingsExpander}, Path=IsExpanded}" Value="True">
<Setter Property="Text" Value="{StaticResource ChevronUp}"/>
Expand Down Expand Up @@ -273,7 +273,7 @@
<Label Text="Sampling configuration"/>
<Label
VerticalOptions="Center"
StyleClass="Icon"
StyleClass="IconSmall"
Text="{StaticResource ChevronRight}">
<Label.Triggers>
<DataTrigger TargetType="Label" Binding="{Binding Source={x:Reference samplingSettingsExpander}, Path=IsExpanded}" Value="True">
Expand Down
3 changes: 1 addition & 2 deletions LM-Kit-Maestro/UI/ModelSelectionButton.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@
HorizontalOptions="End"
Grid.Column="2"
VerticalOptions="Center"
FontFamily="FASolid"
FontSize="9"
StyleClass="IconSmall"
TextColor="{StaticResource Outline}"
Text="{StaticResource ChevronDown}">
<Label.Triggers>
Expand Down

0 comments on commit 729a094

Please sign in to comment.