javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/ProgressView.java
changeset 67 63b81d807542
parent 49 35baca0e7a2e
child 72 1f0034e370aa
child 83 26b2b12093af
--- a/javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/ProgressView.java	Mon Aug 23 14:24:31 2010 +0300
+++ b/javamanager/javainstaller/installerui/javasrc/com/nokia/mj/impl/installer/ui/eswt2/ProgressView.java	Thu Sep 02 13:22:59 2010 +0300
@@ -80,7 +80,7 @@
         if (iInstallerUi != null && iInstallerUi.getInstallInfo() != null)
         {
             // Add header.
-            addHeader(aMsg, iInstallerUi.getInstallInfo(), null, false);
+            addHeader(aMsg, iInstallerUi.getInstallInfo(), null);
         }
         else
         {
@@ -174,10 +174,9 @@
             public void run()
             {
                 // Set horizontalSpan to 2 for one button,
-                // and to 1 for one two buttons.
-                int horizontalSpan = 2;
+                // and to 1 for two buttons.
+                int horizontalSpan = 1;
                 GridData gridData = null;
-                /*
                 iHideCommand = new Button(getCommandComposite(), SWT.PUSH);
                 setCssId(iHideCommand, "softKeyButton");
                 gridData = new GridData(GridData.FILL_HORIZONTAL);
@@ -196,10 +195,10 @@
                     }
                 });
                 addSoftKeyListenerFor(iHideCommand);
-                */
 
                 iCancelCommand = new Button(getCommandComposite(), SWT.PUSH);
-                setCssId(iCancelCommand, "softKeyButtonWide");
+                setCssId(iCancelCommand, "softKeyButton");
+                //setCssId(iCancelCommand, "softKeyButtonWide");
                 gridData = new GridData(GridData.FILL_HORIZONTAL);
                 gridData.horizontalSpan = horizontalSpan;
                 iCancelCommand.setLayoutData(gridData);