@@ -31,8 +31,8 @@ public AboutWindow(){
31
31
initOwner (Main .window );
32
32
initModality (Modality .WINDOW_MODAL );
33
33
getIcons ().add (new Image (getClass ().getResource ("/logo.png" )+"" ));
34
- setWidth (400 );
35
- setHeight (670 );
34
+ setWidth (420 );
35
+ setHeight (700 );
36
36
setTitle (TR .tr ("PDF4Teachers - À Propos" ));
37
37
setResizable (false );
38
38
setScene (scene );
@@ -109,6 +109,23 @@ private void setupUi(VBox root){
109
109
gitInfo .getChildren ().addAll (git , gitName );
110
110
gitInfo .setAlignment (Pos .CENTER );
111
111
112
+ HBox twitterInfo = new HBox ();
113
+ Label twitter = new Label ("Twitter : " );
114
+ twitter .setFont (new Font (17 ));
115
+
116
+ Hyperlink twitterName = new Hyperlink ("@PDF4Teachers" );
117
+ twitterName .setFont (new Font (17 ));
118
+ twitterName .setOnAction ((ActionEvent t ) -> Main .hostServices .showDocument ("https://twitter.com/PDF4Teachers" ));
119
+ twitterInfo .getChildren ().addAll (twitter , twitterName );
120
+ twitterInfo .setAlignment (Pos .CENTER );
121
+
122
+ HBox issueInfo = new HBox ();
123
+ Hyperlink issueName = new Hyperlink (TR .tr ("Demander de l'aide ou signaler un Bug" ));
124
+ issueName .setFont (new Font (17 ));
125
+ issueName .setOnAction ((ActionEvent t ) -> Main .hostServices .showDocument ("https://github.com/themsou/PDF4Teachers/issues/new" ));
126
+ issueInfo .getChildren ().addAll (issueName );
127
+ issueInfo .setAlignment (Pos .CENTER );
128
+
112
129
VBox apiInfo = new VBox ();
113
130
Label api = new Label (TR .tr ("Dépendances :" ));
114
131
@@ -131,16 +148,9 @@ private void setupUi(VBox root){
131
148
apiInfo .getChildren ().addAll (api , javaFx , pdfBox , jMetro , json );
132
149
apiInfo .setAlignment (Pos .CENTER );
133
150
134
- HBox issueInfo = new HBox ();
135
- Hyperlink issueName = new Hyperlink (TR .tr ("Demander de l'aide ou signaler un Bug" ));
136
- issueName .setFont (new Font (17 ));
137
- issueName .setOnAction ((ActionEvent t ) -> Main .hostServices .showDocument ("https://github.com/themsou/PDF4Teachers/issues/new" ));
138
- issueInfo .getChildren ().addAll (issueName );
139
- issueInfo .setAlignment (Pos .CENTER );
140
-
141
151
vBox .getChildren ().addAll (logo , name , version );
142
152
if (newVersion != null ) vBox .getChildren ().add (newVersion );
143
- vBox .getChildren ().addAll (devInfo , consInfo , transInfo , gitInfo , issueInfo , apiInfo );
153
+ vBox .getChildren ().addAll (devInfo , consInfo , transInfo , gitInfo , twitterInfo , issueInfo , apiInfo );
144
154
vBox .setAlignment (Pos .CENTER );
145
155
146
156
VBox .setMargin (logo , new Insets (20 , 0 , 0 , 0 ));
0 commit comments