Skip to content

Commit

Permalink
Small bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-kierepka-hl committed Jan 5, 2025
1 parent ae31de1 commit fc20f69
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ChatAAC/ViewModels/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,7 @@ private void RefreshUi()
public static partial Regex MyRegex();

#endregion



#region Text
public string MainWindowTitle => Resources.MainWindowTitle;
public string ClearTextButton => Resources.ClearTextButton;
Expand Down
21 changes: 20 additions & 1 deletion ChatAAC/Views/MainWindow.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,26 @@
<Setter Property="BorderThickness" Value="1" />
<Setter Property="CornerRadius" Value="10" />
</Style>
<!-- ... other styles ... -->
<Style Selector="Button.action">
<Setter Property="BorderBrush" Value="Gold" />
<Setter Property="BorderThickness" Value="2" />
<Setter Property="CornerRadius" Value="10" />
<Setter Property="Background">
<ImageBrush Source="avares://ChatAAC/Assets/folder-arrow.png" Stretch="Uniform" />
</Setter>
</Style>

<Style Selector="Button.symbol:pointerover">
<Setter Property="RenderTransform">
<ScaleTransform ScaleX="1.05" ScaleY="1.05" />
</Setter>
</Style>

<Style Selector="Button.control">
<Setter Property="CornerRadius" Value="5" />
<Setter Property="Padding" Value="10,5" />
<Setter Property="FontSize" Value="14" />
</Style>
</Window.Styles>

<Grid RowDefinitions="Auto,Auto,*" Margin="20">
Expand Down

0 comments on commit fc20f69

Please sign in to comment.