开发者

SWT Miglayout Problem

I'm using miglayout in my swt application but when the c开发者_JAVA技巧ontent of a text field is large it tends to push the width/height of the text field out of view, this issue also affects table component with many colums, how can this be prevented to ensure that the components stays within the available width of the shell.

Thank you.


Add wmin 0to the layout data of your text. See here for clarification.

In my opinion this issue is the biggest source of frustration for newcomers to Miglayout on SWT.


I had a similar problem in Miglayout for Swing. I needed to add wmin pref+10 to the layout constraints

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜