From bbc4741f4fe0a5be0abea5889d8f161b28701d41 Mon Sep 17 00:00:00 2001 From: dongkyu6 lee Date: Tue, 24 May 2016 10:48:03 +0900 Subject: [PATCH] [SRADA-622] Change background color in Progress Dialog Change-Id: Id862251b63daf03fce42b83083ba8a5374604908 --- .../dynamicanalyzer/widgets/da/base/ProgressDialog.java | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/base/ProgressDialog.java b/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/base/ProgressDialog.java index 2f55951..2071480 100644 --- a/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/base/ProgressDialog.java +++ b/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/base/ProgressDialog.java @@ -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); -- 2.7.4