I want to make a VERY small round button with no text on it. Here is how I tried.
Button bt = new Button();
bt.setShape(new Circle(1.5));
bt.setMaxSize(3,3)
You just need to set also the min size. This will do:
double r=1.5;
btn.setShape(new Circle(r));
btn.setMinSize(2*r, 2*r);
btn.setMaxSize(2*r, 2*r);
And it will give you a round and very small button. Not sure if you want to make it smaller, but you can do that too. Just change the radius r
to the required value.