forked from j62/ctbrec
Set insets of buttons to 5
This commit is contained in:
parent
280b0a30b7
commit
74f727bc12
|
@ -38,6 +38,7 @@ public class DonateTabFx extends Tab {
|
|||
|
||||
ImageView coffeeImage = new ImageView(getClass().getResource("/buymeacoffee-round.png").toString());
|
||||
Button coffeeButton = new Button("Buy me a coffee");
|
||||
coffeeButton.setPadding(new Insets(5));
|
||||
coffeeButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.buymeacoffee.com/0xboobface"); });
|
||||
VBox buyCoffeeBox = new VBox(5);
|
||||
buyCoffeeBox.setAlignment(Pos.TOP_CENTER);
|
||||
|
@ -45,6 +46,7 @@ public class DonateTabFx extends Tab {
|
|||
|
||||
ImageView paypalImage = new ImageView(getClass().getResource("/paypal-round.png").toString());
|
||||
Button paypalButton = new Button("PayPal");
|
||||
paypalButton.setPadding(new Insets(5));
|
||||
paypalButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.paypal.me/0xb00bface"); });
|
||||
VBox paypalBox = new VBox(5);
|
||||
paypalBox.setAlignment(Pos.TOP_CENTER);
|
||||
|
@ -52,6 +54,7 @@ public class DonateTabFx extends Tab {
|
|||
|
||||
ImageView patreonImage = new ImageView(getClass().getResource("/patreon-round.png").toString());
|
||||
Button patreonButton = new Button("Become a Patron");
|
||||
patreonButton.setPadding(new Insets(5));
|
||||
patreonButton.setOnMouseClicked((e) -> { DesktopIntegration.open("https://www.patreon.com/0xb00bface"); });
|
||||
VBox patreonBox = new VBox(5);
|
||||
patreonBox.setAlignment(Pos.TOP_CENTER);
|
||||
|
|
Loading…
Reference in New Issue