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> /// <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> /// </summary>
public static string SnapshotDescription { public static string SnapshotDescription {
get { get {
@@ -511,7 +511,7 @@ namespace ProjectsEditor.Properties {
} }
/// <summary> /// <summary>
/// Looks up a localized string similar to Take Snapshot. /// Looks up a localized string similar to Capture.
/// </summary> /// </summary>
public static string Take_Snapshot { public static string Take_Snapshot {
get { get {

View File

@@ -259,7 +259,7 @@
<value>Select All Apps in Project</value> <value>Select All Apps in Project</value>
</data> </data>
<data name="SnapshotDescription" xml:space="preserve"> <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>
<data name="SnapshotWindowTitle" xml:space="preserve"> <data name="SnapshotWindowTitle" xml:space="preserve">
<value>Snapshot Creator</value> <value>Snapshot Creator</value>
@@ -268,7 +268,7 @@
<value>Sort by</value> <value>Sort by</value>
</data> </data>
<data name="Take_Snapshot" xml:space="preserve"> <data name="Take_Snapshot" xml:space="preserve">
<value>Take Snapshot</value> <value>Capture</value>
</data> </data>
<data name="WriteArgs" xml:space="preserve"> <data name="WriteArgs" xml:space="preserve">
<value>Write arguments here</value> <value>Write arguments here</value>

View File

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