|
|
|
@ -51,7 +51,7 @@ public class PredefinedStyleSelectPane extends BasicPane {
|
|
|
|
|
contentPane.removeAll(); |
|
|
|
|
Iterator<PredefinedStyle> iterator = ServerPreferenceConfig.getInstance().getPreferenceStyleConfig().getPredefinedStyleIterator(); |
|
|
|
|
int rowCount = (ServerPreferenceConfig.getInstance().getPreferenceStyleConfig().getPredefinedSize() +2)/ 3; |
|
|
|
|
contentPane.setPreferredSize(new Dimension(618, 210 * rowCount)); |
|
|
|
|
contentPane.setPreferredSize(new Dimension(618, 220 * rowCount)); |
|
|
|
|
while (iterator.hasNext()) { |
|
|
|
|
PredefinedStyle tmpStyle = iterator.next(); |
|
|
|
|
|
|
|
|
|