MoMeak 7 years ago
parent
commit
f35239d53e
  1. 21
      designer_base/src/com/fr/design/gui/style/BorderPane.java

21
designer_base/src/com/fr/design/gui/style/BorderPane.java

@ -197,17 +197,16 @@ public class BorderPane extends AbstractBasicStylePane implements GlobalNameObse
CellBorderStyle cellBorderStyle = this.update();
if (ComparatorUtils.equals(globalNameListener.getGlobalName(), "currentLineCombo")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "currentLineColorPane")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "outerToggleButton")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "topToggleButton")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "leftToggleButton")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "bottomToggleButton")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "rightToggleButton")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "innerToggleButton")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "horizontalToggleButton")
|| ComparatorUtils.equals(globalNameListener.getGlobalName(), "verticalToggleButton")
) {
if (ComparatorUtils.equals(globalNameListener.getGlobalName(), "currentLineCombo") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "currentLineColorPane") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "outerToggleButton") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "topToggleButton") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "leftToggleButton") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "bottomToggleButton") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "rightToggleButton") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "innerToggleButton") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "horizontalToggleButton") ||
ComparatorUtils.equals(globalNameListener.getGlobalName(), "verticalToggleButton")) {
style = style.deriveBorder(cellBorderStyle.getTopStyle(), cellBorderStyle.getTopColor(), cellBorderStyle.getBottomStyle(), cellBorderStyle.getBottomColor(),
cellBorderStyle.getLeftStyle(), cellBorderStyle.getLeftColor(), cellBorderStyle.getRightStyle(), cellBorderStyle.getRightColor());
} else {

Loading…
Cancel
Save