Make deprecated center field as transient

This commit is contained in:
Bane Stojkovic
2022-12-04 23:30:03 +01:00
parent 6dafbe1215
commit 2ad35e0ac0
@@ -58,7 +58,7 @@ public class Label extends AbstractComponent<String> {
private Color color = LABEL_COLOR; private Color color = LABEL_COLOR;
@SuppressWarnings("unused") @SuppressWarnings("unused")
@Deprecated @Deprecated
private boolean center; private transient boolean center;
private HorizontalAlignment horizontalAlignment = HorizontalAlignment.CENTER; private HorizontalAlignment horizontalAlignment = HorizontalAlignment.CENTER;
private VerticalAlignment verticalAlignment = VerticalAlignment.CENTER; private VerticalAlignment verticalAlignment = VerticalAlignment.CENTER;
private Orientation orientation = Orientation.DEFAULT; private Orientation orientation = Orientation.DEFAULT;