|
|
@ -88,13 +88,13 @@ public class CellStyleEditPane extends MultiTabPane<ThemedCellStyle> { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public ThemedCellStyle updateBean() { |
|
|
|
public ThemedCellStyle updateBean() { |
|
|
|
AbstractBasicStylePane basicStylePane = (AbstractBasicStylePane) paneList.get(tabPane.getSelectedIndex()); |
|
|
|
Style style = this.cellStyle.getStyle(); |
|
|
|
Style style = basicStylePane.update(this.cellStyle.getStyle()); |
|
|
|
|
|
|
|
CellBorderStyle borderStyle = createDefaultBorderStyleFromStyle(style); |
|
|
|
CellBorderStyle borderStyle = createDefaultBorderStyleFromStyle(style); |
|
|
|
|
|
|
|
for (BasicPane basicPane : paneList) { |
|
|
|
|
|
|
|
style = ((AbstractBasicStylePane) basicPane).update(style); |
|
|
|
if (ThemedFeatureController.isCellStyleSupportInnerBorder() && basicStylePane instanceof BorderPane) { |
|
|
|
if (ThemedFeatureController.isCellStyleSupportInnerBorder() && basicPane instanceof BorderPane) { |
|
|
|
borderStyle = ((BorderPane) basicStylePane).update(); |
|
|
|
borderStyle = ((BorderPane) basicPane).update(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
this.cellStyle.setStyle(style); |
|
|
|
this.cellStyle.setStyle(style); |
|
|
|