From edda37e533da5f9b9db48e37a13e54f8dae3959b Mon Sep 17 00:00:00 2001 From: jaeyong lee Date: Mon, 23 May 2016 19:27:17 +0900 Subject: [PATCH] [SRADA-410] Modify margin between view composite Change-Id: Ia36f4c1fedc10ff6a37d613371a37e70b2ef44c9 --- .../tizen/dynamicanalyzer/widgets/da/view/DAViewComposite.java | 8 ++------ .../tizen/dynamicanalyzer/widgets/chartBoard/DAChartBoard.java | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/view/DAViewComposite.java b/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/view/DAViewComposite.java index 9105f75..f681e1b 100644 --- a/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/view/DAViewComposite.java +++ b/org.tizen.dynamicanalyzer.appearance/src/org/tizen/dynamicanalyzer/widgets/da/view/DAViewComposite.java @@ -75,23 +75,19 @@ public abstract class DAViewComposite extends DABaseComposite { Composite borderArea1 = new Composite(composite, SWT.NONE); borderArea1.setLayout(new FormLayout()); borderArea1.setBackground(ColorResources.GRAY_210); -// borderArea1.setBackground(ColorResources.RED); Composite borderArea2 = new Composite(borderArea1, SWT.NONE); borderArea2.setLayout(new FormLayout()); borderArea2.setBackground(ColorResources.GRAY_210); -// borderArea2.setBackground(ColorResources.YELLOW); Composite borderArea3 = new Composite(borderArea2, SWT.NONE); borderArea3.setLayout(new FormLayout()); borderArea3.setBackground(ColorResources.GRAY_210); -// borderArea3.setBackground(ColorResources.BLUE); // Creates content area. contentArea = new Composite(borderArea3, SWT.NONE); contentArea.setLayout(new FormLayout()); contentArea.setBackground(ColorResources.WHITE); -// contentArea.setBackground(ColorResources.PURPLE); // Sets layout data. FormData data = new FormData(); @@ -126,10 +122,10 @@ public abstract class DAViewComposite extends DABaseComposite { borderArea3.setLayoutData(data); data = new FormData(); - data.top = new FormAttachment(1, 0); + data.top = new FormAttachment(0, 0); data.left = new FormAttachment(0, 0); data.right = new FormAttachment(100, 0); - data.bottom = new FormAttachment(99, 0); + data.bottom = new FormAttachment(100, -1); contentArea.setLayoutData(data); } diff --git a/org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/chartBoard/DAChartBoard.java b/org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/chartBoard/DAChartBoard.java index 435cba7..762ddde 100644 --- a/org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/chartBoard/DAChartBoard.java +++ b/org.tizen.dynamicanalyzer.widgets/src/org/tizen/dynamicanalyzer/widgets/chartBoard/DAChartBoard.java @@ -103,7 +103,7 @@ public class DAChartBoard extends Composite { private final static int DEFAULT_CHARTBOARD_TITLE_BUTTON_WIDTH = 118; private final static int DEFAULT_CHARTBOARD_MINIMIZE_BUTTON_WIDTH = 22; private final static int DEFAULT_CHARTBOARD_FOOTER_HEIGHT = 31; - private final static int DEFAULT_CHARTBOARD_SCALE_WIDTH = 190; //[UX]04 feature list/chart area + private final static int DEFAULT_CHARTBOARD_SCALE_WIDTH = 191; //[UX]04 feature list/chart area public static final double ITEM_HEIGHT_RATIO_SHORT = 0.5; public static final double ITEM_HEIGHT_RATIO_NORMAL = 1; -- 2.7.4