@@ -987,6 +987,10 @@ static void CreatePrintingTabFields(const ColourScheme& colours)
987987 babystepButton = new TextButton (row7, babystepColumn, stateColumnWdith - fieldSpacing, strings->babystep , evBabyStepPopup);
988988 mgr.AddField (babystepButton);
989989
990+ DisplayField::SetDefaultColours (colours.buttonTextColour , colours.resetButtonBackColour );
991+ cancelButton = new TextButton (row7, cancelColumn, stateColumnWdith - fieldSpacing, strings->cancel , evReset, " M0" );
992+ mgr.AddField (cancelButton);
993+
990994 DisplayField::SetDefaultColours (colours.buttonTextColour , colours.pauseButtonBackColour );
991995 pauseButton = new TextButton (row7, pauseColumn, stateColumnWdith - (2 * margin), strings->pause , evPausePrint, " M25" );
992996 mgr.AddField (pauseButton);
@@ -995,10 +999,6 @@ static void CreatePrintingTabFields(const ColourScheme& colours)
995999 resumeButton = new TextButton (row7, resumeColumn, stateColumnWdith - (2 * margin), strings->resume , evResumePrint, " M24" );
9961000 mgr.AddField (resumeButton);
9971001
998- DisplayField::SetDefaultColours (colours.buttonTextColour , colours.resetButtonBackColour );
999- cancelButton = new TextButton (row7, cancelColumn, stateColumnWdith - (2 * margin), strings->cancel , evReset, " M0" );
1000- mgr.AddField (cancelButton);
1001-
10021002#if DISPLAY_X == 800
10031003 // On 5" and 7" screens there is room to show the current position on the Print page
10041004 const PixelNumber offset = rowHeight - 20 ;
@@ -1241,8 +1241,8 @@ namespace UI
12411241 mgr.Show (cancelButton, false );
12421242 mgr.Show (pauseButton, false );
12431243 mgr.Show (printProgressBar, false );
1244- mgr.Show (babystepButton, true );
12451244
1245+ mgr.Show (babystepButton, true );
12461246 mgr.Show (reprintButton, lastJobFileNameAvailable);
12471247 mgr.Show (filesButton, true );
12481248 }
@@ -1267,13 +1267,13 @@ namespace UI
12671267 {
12681268 // First hide everything removed then show everything new
12691269 // otherwise remnants of the to-be-hidden might remain
1270- mgr.Show (pauseButton, false );
12711270 mgr.Show (filesButton, false );
1271+ mgr.Show (pauseButton, false );
12721272 mgr.Show (reprintButton, false );
1273+ mgr.Show (babystepButton, false );
12731274
1274- mgr.Show (babystepButton, true );
1275- mgr.Show (resumeButton, true );
12761275 mgr.Show (cancelButton, true );
1276+ mgr.Show (resumeButton, true );
12771277 mgr.Show (printProgressBar, true );
12781278 }
12791279
0 commit comments