-
Enhancement
-
Resolution: Unresolved
-
P4
-
8, 9
-
x86
-
other
A DESCRIPTION OF THE REQUEST :
When I use border radius for GridPane and each top, left, bottom, right border has a different size. The radius display broken, the joint point between two borders is keep same sizes as the borders.
JUSTIFICATION :
Using border radius and has the border sizes different is often and helpful for developer. I had to use an image for background when this feature broken.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It should automatically resize along the radius joint point and has the same size at the joint point.
ACTUAL -
The radius display broken, the joint point between two borders is keep same sizes as the borders
---------- BEGIN SOURCE ----------
main.css
.root {
-fx-border-radius: 20px;
-fx-border-color: black;
-fx-border-width: 40px 20px;
-fx-border-style: solid;
}
main.fxml
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.*?>
<GridPane
xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="Controller">
</GridPane>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I use an with expected display for the background
When I use border radius for GridPane and each top, left, bottom, right border has a different size. The radius display broken, the joint point between two borders is keep same sizes as the borders.
JUSTIFICATION :
Using border radius and has the border sizes different is often and helpful for developer. I had to use an image for background when this feature broken.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
It should automatically resize along the radius joint point and has the same size at the joint point.
ACTUAL -
The radius display broken, the joint point between two borders is keep same sizes as the borders
---------- BEGIN SOURCE ----------
main.css
.root {
-fx-border-radius: 20px;
-fx-border-color: black;
-fx-border-width: 40px 20px;
-fx-border-style: solid;
}
main.fxml
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.layout.*?>
<GridPane
xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="Controller">
</GridPane>
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
I use an with expected display for the background