Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8097110

StyleClass froze SceneBuilder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u40
    • 8
    • javafx
    • 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;
      }

            jcambon Jerome Cambon
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: