62,624
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
SashForm form = new SashForm(tabFolder,SWT.HORIZONTAL|SWT.SMOOTH);
form.setLayout(new FillLayout());
Composite composite1_1 = new Composite(form, SWT.MULTI);
//composite1_1.setLayout(new FillLayout(SWT.VERTICAL));
Text text1_1 = new Text(composite1_1, SWT.BORDER);
text1_1.setText("This is page 1");
text1_1.setBounds(new Rectangle(10, 10, 100, 20));
Text nnn = new Text(composite1_1, SWT.BORDER);
nnn.setText("This is page 1sdadasdasdas");
nnn.setBounds(new Rectangle(10, 50, 100, 20));
Composite composite1_2 = new Composite(form, SWT.MULTI);
composite1_2.setLayout(new FillLayout());
StyledText text1_2 = new StyledText(composite1_2, SWT.BORDER);
text1_2.setText("This is page 1543677");
text1_2.setEditable(false);
text1_2.setBounds(new Rectangle(500, 10, 100, 20));