Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4
-
Resolution: Not an Issue
-
Affects Version/s: 8
-
Fix Version/s: None
-
Component/s: javafx
-
Labels:
-
Environment:
8.0b83
-
Subcomponent:
Description
Run the code :
@Override
public void start(Stage stage) throws Exception {
SplitMenuButton b = new SplitMenuButton();
b.setText("Text");
b.setMinSize(100, 100);
b.setTextAlignment(TextAlignment.RIGHT);///It is ignored
stage.setScene(new Scene(b));
stage.show();
}
I asked right alignment, but text is still aligned on the left side (which is by default)
@Override
public void start(Stage stage) throws Exception {
SplitMenuButton b = new SplitMenuButton();
b.setText("Text");
b.setMinSize(100, 100);
b.setTextAlignment(TextAlignment.RIGHT);///It is ignored
stage.setScene(new Scene(b));
stage.show();
}
I asked right alignment, but text is still aligned on the left side (which is by default)