-
Bug
-
Resolution: Fixed
-
P3
-
fx2.0
-
Win7, build 41.
package bugsverifying;
import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
/**
*
* @author alexandr_kirov
*/
public class Main extends Application{
public static void main(String[] args) {
launch(Main.class, args);
}
private Parent getContent() {
VBox list=new VBox();
TextField box= new TextField("Helloooo world!!!aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab");
//box.setPrefColumnCount(5);
box.setMaxWidth(50);
box.setPrefWidth(50);
box.setMinWidth(50);
list.getChildren().addAll(box);
return list;
}
public void start(Stage stage) {
stage.setX(100);
stage.setY(100);
Scene scene = new Scene(getContent());
stage.setScene(scene);
stage.show();
}
}
It is impossible to select text "aaaaa.......aaaaa" when text is scrolled to the right end BY MOUSE. But it can be selected using shift+left/right keys combinations.
import javafx.application.Application;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.VBox;
import javafx.stage.Stage;
/**
*
* @author alexandr_kirov
*/
public class Main extends Application{
public static void main(String[] args) {
launch(Main.class, args);
}
private Parent getContent() {
VBox list=new VBox();
TextField box= new TextField("Helloooo world!!!aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab");
//box.setPrefColumnCount(5);
box.setMaxWidth(50);
box.setPrefWidth(50);
box.setMinWidth(50);
list.getChildren().addAll(box);
return list;
}
public void start(Stage stage) {
stage.setX(100);
stage.setY(100);
Scene scene = new Scene(getContent());
stage.setScene(scene);
stage.show();
}
}
It is impossible to select text "aaaaa.......aaaaa" when text is scrolled to the right end BY MOUSE. But it can be selected using shift+left/right keys combinations.