Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
/ jfx11u Public archive

Commit

Permalink
8204568: Relative CSS-Attributes don't work all time
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
Backport-of: 9c7cf17
  • Loading branch information
arapte committed May 10, 2021
1 parent 2808769 commit fdd0fa0
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, 2017, 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 @@ -361,6 +361,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 fdd0fa0

@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.