forked from j62/ctbrec
Remove Ko-Fi
This commit is contained in:
parent
8b6d246732
commit
8cac027e0a
|
@ -53,14 +53,6 @@ public class DonateTabFx extends Tab {
|
||||||
paypalBox.setAlignment(Pos.TOP_CENTER);
|
paypalBox.setAlignment(Pos.TOP_CENTER);
|
||||||
paypalBox.getChildren().addAll(paypalImage, paypalButton);
|
paypalBox.getChildren().addAll(paypalImage, paypalButton);
|
||||||
|
|
||||||
ImageView kofiImage = new ImageView(getClass().getResource("/kofi-round.png").toString());
|
|
||||||
Button kofiButton = new Button("Ko-fi");
|
|
||||||
kofiButton.setPadding(new Insets(5));
|
|
||||||
kofiButton.setOnMouseClicked(e -> DesktopIntegration.open("https://ko-fi.com/0xb00bface"));
|
|
||||||
VBox patreonBox = new VBox(5);
|
|
||||||
patreonBox.setAlignment(Pos.TOP_CENTER);
|
|
||||||
patreonBox.getChildren().addAll(kofiImage, kofiButton);
|
|
||||||
|
|
||||||
int prefWidth = 360;
|
int prefWidth = 360;
|
||||||
TextField bitcoinAddress = new TextField("15sLWZon8diPqAX4UdPQU1DcaPuvZs2GgA");
|
TextField bitcoinAddress = new TextField("15sLWZon8diPqAX4UdPQU1DcaPuvZs2GgA");
|
||||||
bitcoinAddress.setEditable(false);
|
bitcoinAddress.setEditable(false);
|
||||||
|
@ -95,7 +87,7 @@ public class DonateTabFx extends Tab {
|
||||||
HBox topBox = new HBox(5);
|
HBox topBox = new HBox(5);
|
||||||
topBox.setAlignment(Pos.CENTER);
|
topBox.setAlignment(Pos.CENTER);
|
||||||
topBox.setSpacing(50);
|
topBox.setSpacing(50);
|
||||||
topBox.getChildren().addAll(buyCoffeeBox, paypalBox, patreonBox);
|
topBox.getChildren().addAll(buyCoffeeBox, paypalBox);
|
||||||
|
|
||||||
HBox bottomBox = new HBox(5);
|
HBox bottomBox = new HBox(5);
|
||||||
bottomBox.setAlignment(Pos.CENTER);
|
bottomBox.setAlignment(Pos.CENTER);
|
||||||
|
|
Loading…
Reference in New Issue