Skip to content

Commit

Permalink
Add position for active trade
Browse files Browse the repository at this point in the history
  • Loading branch information
C1rdec committed Mar 26, 2020
1 parent 27af2b6 commit d7a430e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Lurker.UI/ViewModels/PositionViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public PositionViewModel(TradeEvent tradeEvent)
/// <summary>
/// Gets the name of the item.
/// </summary>
public string ItemName => this._tradeEvent.ItemName;
public string Location => $"Left: {this._tradeEvent.Location.Left}, Top: {this._tradeEvent.Location.Top}";

/// <summary>
/// Gets or sets the item class.
Expand Down
6 changes: 3 additions & 3 deletions src/Lurker.UI/Views/PositionView.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
FontSize="20"
FontWeight="Bold"
Text="{Binding StashName}"/>
<TextBlock FontFamily="pack://application:,,,/Assets/#Fontin"
<TextBlock HorizontalAlignment="Left" FontFamily="pack://application:,,,/Assets/#Fontin"
TextTrimming="CharacterEllipsis"
Foreground="White"
FontSize="10"
Text="{Binding itemName}"/>
FontSize="15"
Text="{Binding Location}"/>
</StackPanel>
</UserControl>

0 comments on commit d7a430e

Please sign in to comment.