-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
JDK 8.0.5 x64 Windows.
When i try to include de class "barra-botoes" in the HBox, SB froze.
FXML:
<AnchorPane id="AnchorPane" maxHeight="-1.0" maxWidth="-1.0" minHeight="-1.0" minWidth="-1.0" prefWidth="-1.0" stylesheets="@BRySigner.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<HBox alignment="CENTER" prefHeight="-1.0" prefWidth="-1.0" spacing="10.0">
<children>
<Button mnemonicParsing="false" onAction="#save" prefWidth="100.0" text="Save" />
<Button mnemonicParsing="false" onAction="#cancel" prefWidth="100.0" text="Cancel" />
</children>
</HBox>
</children>
</AnchorPane>
CSS:
.barra-botoes {
-fx-padding: 14px 20px !important;
-fx-alignment: bottom-right !important;
-fx-border-width: 1px 0px 0px 0px;
-fx-border-color: #e2e2e2;
-fx-border-style: dashed;
}
FXML:
<AnchorPane id="AnchorPane" maxHeight="-1.0" maxWidth="-1.0" minHeight="-1.0" minWidth="-1.0" prefWidth="-1.0" stylesheets="@BRySigner.css" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1">
<children>
<HBox alignment="CENTER" prefHeight="-1.0" prefWidth="-1.0" spacing="10.0">
<children>
<Button mnemonicParsing="false" onAction="#save" prefWidth="100.0" text="Save" />
<Button mnemonicParsing="false" onAction="#cancel" prefWidth="100.0" text="Cancel" />
</children>
</HBox>
</children>
</AnchorPane>
CSS:
.barra-botoes {
-fx-padding: 14px 20px !important;
-fx-alignment: bottom-right !important;
-fx-border-width: 1px 0px 0px 0px;
-fx-border-color: #e2e2e2;
-fx-border-style: dashed;
}
- is blocked by
-
JDK-8093634 [CSS] FX hangs when setting border width to 0 + border style to dashed
- Closed