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

StyleClass froze SceneBuilder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      JDK 8.0.5 x64 Windows.

      Description

      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;
      }

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jcambon Jerome Cambon
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: