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

[ToolBar] Separator rendering is not correct

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • 8
    • 8
    • javafx
    • 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();
          }
      }

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

              Created:
              Updated:
              Resolved:
              Imported: