Skip to content

Commit

Permalink
8204568: Relative CSS-Attributes don't work all time
Browse files Browse the repository at this point in the history
Reviewed-by: dgrieve, kcr, aghaisas
  • Loading branch information
arapte committed Mar 8, 2021
1 parent 3374f47 commit 9c7cf17
Show file tree
Hide file tree
Showing 5 changed files with 700 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2010, 2020, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2010, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -372,6 +372,7 @@ public void set(Font value) {
final Font oldValue = get();
if (value != null ? !value.equals(oldValue) : oldValue != null) {
super.set(value);
NodeHelper.recalculateRelativeSizeProperties(Labeled.this, value);
}

}
Expand Down
Loading

1 comment on commit 9c7cf17

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.