Skip to content

Commit

Permalink
Minor UI changes to DIW (#803)
Browse files Browse the repository at this point in the history
* Change DIW userinput ratio to 3:7

* Add groupboxes around contents and readonly tabs in DIW

* Use real PVD and PIC in debug data

* rearrange groupbox / stackpanel

* group boxes
  • Loading branch information
Deterous authored Dec 29, 2024
1 parent 0ae7352 commit 19dd4f4
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 135 deletions.
5 changes: 3 additions & 2 deletions MPF.Frontend/ViewModels/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -867,6 +867,7 @@ public static SubmissionInfo CreateDebugSubmissionInfo()
CommentsSpecialFields = new Dictionary<SiteCode, string>()
{
[SiteCode.ISBN] = "ISBN",
[SiteCode.RingNonZeroDataStart] = "+123"
},
Contents = "Special contents 1\r\nSpecial contents 2",
ContentsSpecialFields = new Dictionary<SiteCode, string>()
Expand Down Expand Up @@ -896,10 +897,10 @@ public static SubmissionInfo CreateDebugSubmissionInfo()

Extras = new ExtrasSection()
{
PVD = "PVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\nPVD with a stupidly long line and nothing else but a little more\n",
PVD = "0320 : 20 20 20 20 20 20 20 20 20 20 20 20 20 32 30 31 201\n0330 : 30 31 30 32 35 31 36 31 39 30 30 30 00 04 32 30 010251619000 .20\n0340 : 31 30 31 30 32 35 31 36 31 39 30 30 30 00 04 30 1010251619000 .0\n0350 : 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 00 000000000000000 \n0360 : 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 0000000000000000\n0370 : 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . ",
DiscKey = "Disc key",
DiscID = "Disc ID",
PIC = "PIC",
PIC = "10020000444901080000200042444F01\n1101010001000000004F947F00100000\n004F947E000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000000000000000000000000000\n00000000",
Header = "Header",
BCA = "BCA",
SecuritySectorRanges = "SSv1 Ranges",
Expand Down
2 changes: 1 addition & 1 deletion MPF.UI/UserControls/UserInput.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="0.75*" />
<ColumnDefinition Width="1.50*" />
<ColumnDefinition Width="1.75*" />
</Grid.ColumnDefinitions>

<Label Grid.Row="0" Grid.Column="0"
Expand Down
Loading

0 comments on commit 19dd4f4

Please sign in to comment.