Skip to content

Commit

Permalink
ScreenshottingSettings Resolution TextBoxes
Browse files Browse the repository at this point in the history
  • Loading branch information
Neakita committed Sep 25, 2024
1 parent 5f27500 commit 6f059e2
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions SightKeeper.Avalonia/Annotation/ScreenshottingSettings.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,23 @@
IsChecked="{Binding IsEnabled}"
Content="Make Screenshots"
IsEnabled="{Binding Library, Converter={x:Static ObjectConverters.IsNotNull}}"/>
<Slider Maximum="{Binding MaximumWidth}"
Value="{Binding ResolutionWidth}"
TickFrequency="32"
IsSnapToTickEnabled="True"
Minimum="32"/>
<Slider Maximum="{Binding MaximumHeight}"
Value="{Binding ResolutionHeight}"
TickFrequency="32"
IsSnapToTickEnabled="True"
Minimum="32"/>
<DockPanel>
<TextBox Text="{Binding ResolutionWidth}" DockPanel.Dock="Right"/>
<Slider Maximum="{Binding MaximumWidth}"
Value="{Binding ResolutionWidth}"
TickFrequency="32"
IsSnapToTickEnabled="True"
Minimum="32"
VerticalAlignment="Center"/>
</DockPanel>
<DockPanel>
<TextBox Text="{Binding ResolutionHeight}" DockPanel.Dock="Right"/>
<Slider Maximum="{Binding MaximumHeight}"
Value="{Binding ResolutionHeight}"
TickFrequency="32"
IsSnapToTickEnabled="True"
Minimum="32"
VerticalAlignment="Center"/>
</DockPanel>
</StackPanel>
</UserControl>

0 comments on commit 6f059e2

Please sign in to comment.