Hi David,

Looks good. Please update the JIRA with what you intend to do. People are welcome to follow along there if they have any ideas for a different API / approach.

Steve

On 2013-11-04 2:22 PM, David Grieve wrote:
https://javafx-jira.kenai.com/browse/RT-26277 relates to the use of percentage 
values in -fx-background-insets. BackgroundFill (in javafx.scene.layout) uses 
Insets, which does not allow for a percentage value.

My proposal here is to simply copy the BorderWidths implementation to a 
BackgroundInsets class, with appropriate renaming along the way, and use it in 
place of Insets in BackgroundFill. The impact on the BackgroundFill API is:

-    public final Insets getInsets()
+    public final BackgroundInsets getBackgroundInsets()

Since BackgroundFill is new in 8.0, backward compatibility is not a concern.






Reply via email to