Skip to content

Commit

Permalink
fix button text (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrerro authored Mar 21, 2023
1 parent 48a5e8b commit b0644b8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-printer-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
build_release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
lfs: true

- uses: actions/setup-dotnet@v1
- uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x

Expand Down
10 changes: 8 additions & 2 deletions PrinterApp/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,15 @@
Background="Red" Foreground="White"
Content="{Binding ErrorTextBlockText, FallbackValue=123}"
Padding="0,0,0,0" Margin="0,157,0,0" Visibility="{Binding ErrorTextBlockVisibility}" />
<Button x:Name="ButtonPrint" Content="Распечатать сразу" Click="Print_OnClick"
<Button x:Name="ButtonPrint" Click="Print_OnClick"
Style="{DynamicResource MyButtonStyle}" FontSize="20"
IsEnabled="{Binding DownloadNotInProgress}" Margin="0,92,0,42" Focusable="True" TabIndex="2" />
IsEnabled="{Binding DownloadNotInProgress}" Margin="0,92,0,42" Focusable="True" TabIndex="2">
<TextBlock TextAlignment="Center">
<Run FontWeight="Bold">Распечатать сразу</Run>
<LineBreak />
<Run FontSize="18"> Для печати нажмите Enter</Run>
</TextBlock>
</Button>
</Grid>
</Canvas>
</Viewbox>
Expand Down
2 changes: 1 addition & 1 deletion PrinterApp/PrinterApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<Title>PrinterApp</Title>
<Description>gui fo work https://app.profcomff.com/print/docs</Description>
<Authors>Dyakov EI</Authors>
<Version>2.1.6.0</Version>
<Version>2.1.7.0</Version>
<Company>dyakov.space</Company>
<Copyright>dyakov.space @ 2022</Copyright>
</PropertyGroup>
Expand Down

0 comments on commit b0644b8

Please sign in to comment.