|
|
|
@ -79,6 +79,7 @@ public class CellOtherSetPane extends AbstractCellAttrPane {
|
|
|
|
|
|
|
|
|
|
//文本超出时隐藏
|
|
|
|
|
private UICheckBox textOverflowCheckBox; |
|
|
|
|
private int curSelectedIndex; |
|
|
|
|
private UIComboBox showPartComboBox; |
|
|
|
|
private CardLayout showPartLayout; |
|
|
|
|
private JPanel showPartPane; |
|
|
|
@ -325,7 +326,15 @@ public class CellOtherSetPane extends AbstractCellAttrPane {
|
|
|
|
|
showPartLayout.show(showPartPane, "none"); |
|
|
|
|
showPartPane.setPreferredSize(new Dimension(0, 0)); |
|
|
|
|
} |
|
|
|
|
// 记录目前自动调整哪个被选中
|
|
|
|
|
for (int i = 0; i < adjustRadioButtons.length; i++) { |
|
|
|
|
if (adjustRadioButtons[i].isSelected()) { |
|
|
|
|
curSelectedIndex = i; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
noAutoRadioButton.setSelected(true); |
|
|
|
|
} else { |
|
|
|
|
adjustRadioButtons[curSelectedIndex].setSelected(true); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|