[ToolBar] Separator rendering is not correct

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: javafx
    • Environment:

      jdk 1.8.0-ea-b57

      import javafx.application.Application;
      import javafx.scene.Scene;
      import javafx.scene.control.Button;
      import javafx.scene.control.Separator;
      import javafx.scene.control.SplitMenuButtonBuilder;
      import javafx.scene.control.ToolBar;
      import javafx.stage.Stage;

      public class MyApp extends Application
      {

          public static void main(String[] args)
          {
              launch(args);
          }

          @Override
          public void start(Stage stage) throws Exception
          {
              ToolBar toolbar = new ToolBar();
              toolbar.getItems().addAll(new Button("One"), new Button("Two"), new Separator(), SplitMenuButtonBuilder.create().text("three").build());
              
              Scene scene = new Scene(toolbar);
              stage.setScene(scene);
              stage.show();
          }
      }

            Assignee:
            Unassigned
            Reporter:
            Dmitry Zinkevich (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: