TEXT: Fix. the vertical scroll bar
authorHyunJong Park <paulhj.park@samsung.com>
Wed, 25 May 2016 06:17:04 +0000 (15:17 +0900)
committerHyunJong Park <paulhj.park@samsung.com>
Wed, 25 May 2016 06:20:32 +0000 (15:20 +0900)
- Fill the vertical scroll bar in text

Change-Id: I12c061ab65cb2703a42d1602e92a6fbfc553f733
Signed-off-by: HyunJong Park <paulhj.park@samsung.com>
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TizenText.java

index bda3400..153cd9c 100644 (file)
@@ -71,7 +71,7 @@ public class TizenText extends Canvas {
         textStyle = style;
         this.setLayout(new GridLayout(1, false));
         text = new OriginalText(this, removeBorderStyle(style));
-        GridData gridData = new GridData(GridData.FILL_HORIZONTAL);
+        GridData gridData = new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL);
         gridData.grabExcessHorizontalSpace = true;
         gridData.grabExcessVerticalSpace = true;
         text.setLayoutData(gridData);