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

Toolbar does not render its items correctly.

    XMLWordPrintable

Details

    Description

      Consider this:
      import javafx.stage.Stage;
      import javafx.scene.Scene;

      /**
       * @author moonko
       */

      def circle: javafx.scene.shape.Circle = javafx.scene.shape.Circle {
              radius: 25.0
          }

      def toolBar: com.javafx.preview.control.ToolBar = com.javafx.preview.control.ToolBar {
              layoutX: 6.0
              layoutY: 2.0
              items: [ circle ]
      }

      Stage {
          title: "Toolbar Test"
          scene: Scene {
              width: 250
              height: 80
              content: [
                  toolBar
              ]
          }
      }

      Compile, run. Nothing is shown on stage.

      Attachments

        1. rt8637.patch
          1 kB
          Parvathi Somashekar

        Activity

          People

            psomashe Parvathi Somashekar (Inactive)
            rkomarajfx Rastislav Komara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: