Moved draft up and put unit behind the value
This commit is contained in:
parent
26de7ea143
commit
6070fe97f6
9
src/BreCalClient/Resources/Resources.Designer.cs
generated
9
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>
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
@ -610,4 +610,7 @@
|
|||||||
<data name="window_size" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="window_size" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>window_size.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>window_size.png;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="textDraftNoUnit" xml:space="preserve">
|
||||||
|
<value>Draft</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
||||||
@ -70,27 +70,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>
|
||||||
|
|||||||
@ -273,7 +273,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