Skip to content

Commit

Permalink
Push forgotten code
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusElg committed Aug 8, 2024
1 parent 0a36a59 commit e8a22bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public HorizontalAlignment getAlignment() {
* @return this label
*/
public WDynamicLabel setAlignment(HorizontalAlignment align) {
this.horizontalAlignment = align;
this.alignment = align;
return this;
}

Expand All @@ -158,7 +158,7 @@ public VerticalAlignment getVerticalAlignment() {
* @return this label
* @since 11.1.0
*/
public WLabel setVerticalAlignment(VerticalAlignment align) {
public WDynamicLabel setVerticalAlignment(VerticalAlignment align) {
this.verticalAlignment = align;
return this;
}
Expand Down

0 comments on commit e8a22bd

Please sign in to comment.