Topic: eclipse的swt_designer的layout真麻烦,有没有什么好方法

  Print this page

1.eclipse的swt_designer的layout真麻烦,有没有什么好方法 Copy to clipboard
Posted by: yueguangm
Posted on: 2004-10-13 16:31

eclipse的swt_designer的layout真麻烦,尤其在设计tabfolder时,为tabitem加入一个layout后,再添置其他控件时,尤其是想在同一行放两个label时总是报错,layout问题真让人头疼。

想请问有没有处理tabfoler的layout的简便方法,或者能不能提供一个简单的例子以供学习。

谢谢了。

2.Re:eclipse的swt_designer的layout真麻烦,有没有什么好方法 [Re: yueguangm] Copy to clipboard
Posted by: yipsilon
Posted on: 2004-10-14 01:21

不麻烦呀, 我用的好好的. 建议使用GridLayout, 很好用.

3.Re:eclipse的swt_designer的layout真麻烦,有没有什么好方法 [Re: yueguangm] Copy to clipboard
Posted by: kavinwang
Posted on: 2004-10-14 09:41

虽然我不太熟悉,不过也试用过,觉得挺好得呀!最起码要好过swing得布局

4.Re:eclipse的swt_designer的layout真麻烦,有没有什么好方法 [Re: yueguangm] Copy to clipboard
Posted by: wjh2004
Posted on: 2004-10-14 13:00

GridLayout的属性怎么设置呀,在eclipse中我怎么够不明白?

5.Re:eclipse的swt_designer的layout真麻烦,有没有什么好方法 [Re: yueguangm] Copy to clipboard
Posted by: kavinwang
Posted on: 2004-10-14 13:25

记得在属性页中有一项更改layout的,找找看

6.Re:eclipse的swt_designer的layout真麻烦,有没有什么好方法 [Re: yueguangm] Copy to clipboard
Posted by: yipsilon
Posted on: 2004-10-16 12:47

GridLayout 在图像界面就可以设置, 很方便.... 参考一下SWT-Designer的文档吧.


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923