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

Toolbar does not render its items correctly.

    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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: