[SRADA-622] Change background color in Progress Dialog
authordongkyu6 lee <dongkyu6.lee@samsung.com>
Tue, 24 May 2016 01:48:03 +0000 (10:48 +0900)
committerdongkyu6 lee <dongkyu6.lee@samsung.com>
Tue, 24 May 2016 03:06:22 +0000 (12:06 +0900)
Change-Id: Id862251b63daf03fce42b83083ba8a5374604908

org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/base/ProgressDialog.java

index 2f55951..2071480 100644 (file)
@@ -226,7 +226,8 @@ public class ProgressDialog {
                Label bottomLabel = new Label(progressComp, SWT.LEFT | SWT.TRANSPARENT);
                bottomLabel.setText(bottomText);
                bottomLabel.setFont(FontResources.STOP_PROGRESS_FONT);
-               bottomLabel.setForeground(ColorResources.STOP_PROGRESS_INFO_FONT_COLOR);
+               bottomLabel.setForeground(ColorResources.BLACK);
+               bottomLabel.setBackground(ColorResources.WHITE);
 
                data = new FormData();
                data.left = new FormAttachment(0, 12);
@@ -299,6 +300,7 @@ public class ProgressDialog {
                baseData.height = sizeInfo.get(1);
 
                msgComp.setLayoutData(baseData);
+               msgComp.setBackground(ColorResources.WHITE);
                msgComp.setVisible(true);
 
                // warning icon
@@ -317,18 +319,20 @@ public class ProgressDialog {
                upperLabel.setText(upperText);
                upperLabel.setFont(FontResources.PROGRESS_FONT);
                upperLabel.setForeground(ColorResources.BLACK);
+               upperLabel.setBackground(ColorResources.WHITE);
                
                formData = new FormData();
                formData.left = new FormAttachment(0, 92);
                formData.right = new FormAttachment(95, 0);
                formData.top = new FormAttachment(0, 15);
                upperLabel.setLayoutData(formData);
-               
+
                // warning message
                Label strMessage = new Label(msgComp, SWT.WRAP | SWT.TRANSPARENT | SWT.LEFT);
                strMessage.setText(warningText);
                strMessage.setFont(FontResources.STOP_PROGRESS_FONT);
-               strMessage.setForeground(ColorResources.STOP_PROGRESS_INFO_FONT_COLOR); 
+               strMessage.setForeground(ColorResources.BLACK);
+               strMessage.setBackground(ColorResources.WHITE);
 
                formData = new FormData();
                formData.left = new FormAttachment(0, 92);
@@ -365,7 +369,8 @@ public class ProgressDialog {
                Label bottomLabel = new Label(progressComp, SWT.LEFT | SWT.TRANSPARENT);
                bottomLabel.setText(bottomText);
                bottomLabel.setFont(FontResources.STOP_PROGRESS_FONT);
-               bottomLabel.setForeground(ColorResources.STOP_PROGRESS_INFO_FONT_COLOR);
+               bottomLabel.setForeground(ColorResources.BLACK);
+               bottomLabel.setBackground(ColorResources.WHITE);
 
                formData = new FormData();
                formData.left = new FormAttachment(0, 12);