|
|
|
@ -331,7 +331,7 @@ public abstract class UIListGroupControlPane extends UIControlPane implements Li
|
|
|
|
|
UIList uiList = wrapperPane.getNameEdList(); |
|
|
|
|
//contentPane是外层的Panel,如果不进行判断的话宽度就可能会小于contentPanel,右侧会有空隙
|
|
|
|
|
//所以需要判断一下,如果外层比较宽就取外层的宽度,防止空隙出现
|
|
|
|
|
uiList.setFixedCellWidth(Math.max(width, contentPane == null? 0 : contentPane.getWidth())); |
|
|
|
|
uiList.setFixedCellWidth(Math.max(width, contentPane == null ? 0 : contentPane.getWidth())); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|