Minor fixes in the capture dialog

This commit is contained in:
donlaci
2024-06-29 11:37:42 +02:00
parent 907a6f5ec9
commit fd5e4590d7
3 changed files with 13 additions and 9 deletions

View File

@@ -484,7 +484,7 @@ namespace ProjectsEditor.Properties {
}
/// <summary>
/// Looks up a localized string similar to Move the windows you want to include to the project into the desired position. There will be later a possibility to deselect the windows you don&apos;t want to include to the project..
/// Looks up a localized string similar to Edit your layout and click &quot;Capture&quot; when finished..
/// </summary>
public static string SnapshotDescription {
get {
@@ -511,7 +511,7 @@ namespace ProjectsEditor.Properties {
}
/// <summary>
/// Looks up a localized string similar to Take Snapshot.
/// Looks up a localized string similar to Capture.
/// </summary>
public static string Take_Snapshot {
get {

View File

@@ -259,7 +259,7 @@
<value>Select All Apps in Project</value>
</data>
<data name="SnapshotDescription" xml:space="preserve">
<value>Move the windows you want to include to the project into the desired position. There will be later a possibility to deselect the windows you don't want to include to the project.</value>
<value>Edit your layout and click "Capture" when finished.</value>
</data>
<data name="SnapshotWindowTitle" xml:space="preserve">
<value>Snapshot Creator</value>
@@ -268,7 +268,7 @@
<value>Sort by</value>
</data>
<data name="Take_Snapshot" xml:space="preserve">
<value>Take Snapshot</value>
<value>Capture</value>
</data>
<data name="WriteArgs" xml:space="preserve">
<value>Write arguments here</value>

View File

@@ -9,14 +9,19 @@
mc:Ignorable="d"
Background="{DynamicResource PrimaryBackgroundBrush}"
Title="{x:Static props:Resources.SnapshotWindowTitle}"
Width="250"
Height="200"
Width="350"
Height="140"
ResizeMode="NoResize"
ui:TitleBar.Background="{DynamicResource PrimaryBackgroundBrush}"
ui:TitleBar.InactiveBackground="{DynamicResource TertiaryBackgroundBrush}"
ui:WindowHelper.UseModernWindowStyle="True"
Closing="Window_Closing">
<Grid>
WindowStartupLocation="CenterScreen"
Closing="Window_Closing"
BorderThickness="5"
BorderBrush="Red">
<Grid
Margin="5"
Background="Transparent">
<Grid.RowDefinitions>
<RowDefinition Height="1*"/>
<RowDefinition Height="Auto"/>
@@ -27,7 +32,6 @@
</Grid.ColumnDefinitions>
<TextBlock
Grid.ColumnSpan="2"
TextWrapping="WrapWithOverflow"
Margin="5"
Foreground="{DynamicResource PrimaryForegroundBrush}"
Text="{x:Static props:Resources.SnapshotDescription}" />