MenuButton(String stringKey) {
btn = new FXGLButton();
btn.setAlignment(Pos.CENTER_LEFT);
btn.setStyle("-fx-background-color: transparent");
btn.textProperty().bind(localizedStringProperty(stringKey));
p.setMouseTransparent(true);
Paint g = new LinearGradient(0, 1, 1, 0.2, true, CycleMethod.NO_CYCLE,
new Stop(0.6, Color.color(1, 0.8, 0, 0.34)),
new Stop(0.85, Color.color(1, 0.8, 0, 0.74)),
new Stop(1, Color.WHITE));
p.fillProperty().bind(
Bindings.when(btn.pressedProperty()).then((Paint) Color.color(1, 0.8, 0, 0.75)).otherwise(g)
);
p.setStroke(Color.color(0.1, 0.1, 0.1, 0.15));
p.setEffect(new GaussianBlur());
p.visibleProperty().bind(btn.hoverProperty());
getChildren().addAll(btn, p);
}