Skip to content

Commit

Permalink
UI: compat: Only use monospaced font for title ID
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev committed Jan 7, 2025
1 parent 5efa7d5 commit ef9c141
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/compatibility.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4304,5 +4304,5 @@ issue_number,issue_title,extracted_game_id,issue_labels,extracted_status,last_ev
100001,Mario & Luigi: Brothership - 01006D0017F7A000,01006D0017F7A000,status-ingame;crash;slow;UE4;mac-bug,ingame,2025-01-07 4:00:00,1
100002,Stray - 010075101EF84000,010075101EF84000,status-ingame;crash,ingame,2025-01-07 4:03:00,1
100003,Dragon Quest III HD-2D Remake - 01003E601E324000,01003E601E324000,status-ingame;vulkan-backend-bug;UE4;audout;mac-bug,ingame,2025-01-07 4:10:27,1
100004,SONIC X SHADOW GENERATIONS - 01005EA01C0fC000,01005EA01C0fC000,status-ingame;crash,ingame,2025-01-07 4:20:45,1
100004,SONIC X SHADOW GENERATIONS - 01005EA01C0FC000,01005EA01C0FC000,status-ingame;crash,ingame,2025-01-07 4:20:45,1
100005,LEGO Horizon Adventures - 010073C01AF34000,010073C01AF34000,status-ingame;vulkan-backend-bug;opengl-backend-bug;UE4,ingame,2025-01-07 4:24:56,1
3 changes: 2 additions & 1 deletion src/Ryujinx/Utilities/Compat/CompatibilityCsv.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ public CompatibilityEntry(SepReaderHeader header, SepReader.Row row)
public int EventCount { get; }

public string LocalizedStatus => LocaleManager.Instance[Status!.Value];
public string FormattedTitleId => TitleId.OrElse(new string(' ', 16));
public string FormattedTitleId => TitleId
.OrElse(new string(' ', 16));

public string FormattedIssueLabels => IssueLabels
.Where(it => !it.StartsWithIgnoreCase("status"))
Expand Down
5 changes: 1 addition & 4 deletions src/Ryujinx/Utilities/Compat/CompatibilityList.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,8 @@
<Grid Width="750" ColumnDefinitions="Auto,Auto,Auto,*"
Margin="5">
<TextBlock Grid.Column="0"
FontFamily="{StaticResource JetBrainsMono}"
Text="{Binding GameName}"
Width="333"
Width="320"
TextWrapping="Wrap" />
<TextBlock Grid.Column="1"
Width="135"
Expand All @@ -60,14 +59,12 @@
<TextBlock Grid.Column="2"
Padding="7, 0"
VerticalAlignment="Center"
FontFamily="{StaticResource JetBrainsMono}"
Text="{Binding LocalizedStatus}"
Width="85"
Foreground="{Binding Status, Converter={x:Static helpers:PlayabilityStatusConverter.Shared}}"
TextWrapping="NoWrap" />
<TextBlock Grid.Column="3"
VerticalAlignment="Center"
FontFamily="{StaticResource JetBrainsMono}"
Text="{Binding FormattedIssueLabels}"
TextWrapping="WrapWithOverflow" />
</Grid>
Expand Down

0 comments on commit ef9c141

Please sign in to comment.