Moved draft up and put unit behind the value
This commit is contained in:
parent
f7fed255d5
commit
5459e1dd78
18
src/BreCalClient/Resources/Resources.Designer.cs
generated
18
src/BreCalClient/Resources/Resources.Designer.cs
generated
@ -596,6 +596,15 @@ namespace BreCalClient.Resources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Draft.
|
||||||
|
/// </summary>
|
||||||
|
public static string textDraftNoUnit {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("textDraftNoUnit", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Edit.
|
/// Looks up a localized string similar to Edit.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -1064,6 +1073,15 @@ namespace BreCalClient.Resources {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized string similar to Position.
|
||||||
|
/// </summary>
|
||||||
|
public static string textPosition {
|
||||||
|
get {
|
||||||
|
return ResourceManager.GetString("textPosition", resourceCulture);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Rain sensitive cargo.
|
/// Looks up a localized string similar to Rain sensitive cargo.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -235,6 +235,9 @@
|
|||||||
<data name="textDraft" xml:space="preserve">
|
<data name="textDraft" xml:space="preserve">
|
||||||
<value>Tiefgang (m)</value>
|
<value>Tiefgang (m)</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="textDraftNoUnit" xml:space="preserve">
|
||||||
|
<value>Tiefgang</value>
|
||||||
|
</data>
|
||||||
<data name="textEdit" xml:space="preserve">
|
<data name="textEdit" xml:space="preserve">
|
||||||
<value>Bearbeiten</value>
|
<value>Bearbeiten</value>
|
||||||
</data>
|
</data>
|
||||||
|
|||||||
@ -604,4 +604,10 @@
|
|||||||
<data name="textNoPortAssigned" xml:space="preserve">
|
<data name="textNoPortAssigned" xml:space="preserve">
|
||||||
<value>No port assigned to this participant</value>
|
<value>No port assigned to this participant</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="textPosition" xml:space="preserve">
|
||||||
|
<value>Position</value>
|
||||||
|
</data>
|
||||||
|
<data name="textDraftNoUnit" xml:space="preserve">
|
||||||
|
<value>Draft</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@ -69,27 +69,26 @@
|
|||||||
<TextBlock x:Name="textBlockLengthWidth" Padding="0"/>
|
<TextBlock x:Name="textBlockLengthWidth" Padding="0"/>
|
||||||
</Viewbox>
|
</Viewbox>
|
||||||
<Viewbox Grid.Row="3" Grid.Column="0" HorizontalAlignment="Left">
|
<Viewbox Grid.Row="3" Grid.Column="0" HorizontalAlignment="Left">
|
||||||
<TextBlock Text="ETA" x:Name="labelETA"/>
|
<TextBlock Text="{x:Static p:Resources.textDraftNoUnit}" />
|
||||||
</Viewbox>
|
</Viewbox>
|
||||||
<Viewbox Grid.Row="3" Grid.Column="1" HorizontalAlignment="Left">
|
<Viewbox Grid.Row="3" Grid.Column="1" HorizontalAlignment="Left">
|
||||||
<TextBlock x:Name="textBlockETA" Padding="0" FontWeight="DemiBold"/>
|
|
||||||
</Viewbox>
|
|
||||||
<Viewbox Grid.Row="4" Grid.Column="0" HorizontalAlignment="Left">
|
|
||||||
<TextBlock Text="{x:Static p:Resources.textBerth}"/>
|
|
||||||
</Viewbox>
|
|
||||||
<Viewbox Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left">
|
|
||||||
<TextBlock x:Name="textBlockBerth" Padding="0" FontWeight="DemiBold" />
|
|
||||||
</Viewbox>
|
|
||||||
<Viewbox Grid.Row="5" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Left">
|
|
||||||
<TextBlock x:Name="textBlockHarbour" Padding="0" FontWeight="DemiBold" />
|
|
||||||
</Viewbox>
|
|
||||||
<Viewbox Grid.Row="6" Grid.Column="0" HorizontalAlignment="Left">
|
|
||||||
<TextBlock Text="{x:Static p:Resources.textDraft}" />
|
|
||||||
</Viewbox>
|
|
||||||
<Viewbox Grid.Row="6" Grid.Column="1" HorizontalAlignment="Left">
|
|
||||||
<TextBlock x:Name="textBlockDraft" Padding="0"/>
|
<TextBlock x:Name="textBlockDraft" Padding="0"/>
|
||||||
</Viewbox>
|
</Viewbox>
|
||||||
|
<Viewbox Grid.Row="4" Grid.Column="0" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Text="ETA" x:Name="labelETA"/>
|
||||||
|
</Viewbox>
|
||||||
|
<Viewbox Grid.Row="4" Grid.Column="1" HorizontalAlignment="Left">
|
||||||
|
<TextBlock x:Name="textBlockETA" Padding="0" FontWeight="DemiBold"/>
|
||||||
|
</Viewbox>
|
||||||
|
<Viewbox Grid.Row="5" Grid.Column="0" HorizontalAlignment="Left">
|
||||||
|
<TextBlock Text="{x:Static p:Resources.textBerth}"/>
|
||||||
|
</Viewbox>
|
||||||
|
<Viewbox Grid.Row="5" Grid.Column="1" HorizontalAlignment="Left">
|
||||||
|
<TextBlock x:Name="textBlockBerth" Padding="0" FontWeight="DemiBold" />
|
||||||
|
</Viewbox>
|
||||||
|
<Viewbox Grid.Row="6" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Left">
|
||||||
|
<TextBlock x:Name="textBlockHarbour" Padding="0" FontWeight="DemiBold" />
|
||||||
|
</Viewbox>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid Grid.Row="0" Grid.Column="1">
|
<Grid Grid.Row="0" Grid.Column="1">
|
||||||
<Grid.RowDefinitions>
|
<Grid.RowDefinitions>
|
||||||
|
|||||||
@ -269,7 +269,7 @@ namespace BreCalClient
|
|||||||
this.imageEvaluation.ToolTip = null;
|
this.imageEvaluation.ToolTip = null;
|
||||||
|
|
||||||
this.textBlockBerth.Text = this.ShipcallControlModel?.GetBerthText(null);
|
this.textBlockBerth.Text = this.ShipcallControlModel?.GetBerthText(null);
|
||||||
this.textBlockDraft.Text = (this.ShipcallControlModel?.Shipcall?.Draft != null) ? this.ShipcallControlModel?.Shipcall?.Draft.Value.ToString("N1") : "-";
|
this.textBlockDraft.Text = (this.ShipcallControlModel?.Shipcall?.Draft != null) ? $"{this.ShipcallControlModel?.Shipcall?.Draft.Value.ToString("N1")} m" : "-";
|
||||||
this.textBlockETA.Text = this.ShipcallControlModel?.GetETAETD(true);
|
this.textBlockETA.Text = this.ShipcallControlModel?.GetETAETD(true);
|
||||||
|
|
||||||
this.textBlockIMO.Text = this.ShipcallControlModel?.Ship?.Imo.ToString();
|
this.textBlockIMO.Text = this.ShipcallControlModel?.Ship?.Imo.ToString();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user