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 0
to 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
精彩评论