File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
java/io/github/tobiasbriones/cp/rmifilesystem/client/content/editor Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1919import javafx .scene .control .Button ;
2020import javafx .scene .control .Label ;
2121import javafx .scene .control .TextArea ;
22+ import javafx .scene .image .Image ;
23+ import javafx .scene .image .ImageView ;
2224import javafx .scene .layout .HBox ;
2325import javafx .scene .layout .Priority ;
2426import javafx .scene .layout .VBox ;
@@ -59,9 +61,11 @@ public void createView() {
5961 saveButton .setPrefWidth (SAVE_BUTTON_WIDTH );
6062
6163 pushButton .setText ("Push" );
64+ pushButton .setGraphic (new ImageView (new Image ("/ic_push.png" )));
6265 pushButton .setPrefWidth (SAVE_BUTTON_WIDTH / 2 - 4 );
6366
6467 pullButton .setText ("Pull" );
68+ pullButton .setGraphic (new ImageView (new Image ("/ic_pull.png" )));
6569 pullButton .setPrefWidth (SAVE_BUTTON_WIDTH / 2 - 4 );
6670
6771 servicePane .getChildren ().addAll (pushButton , pullButton );
You can’t perform that action at this time.
0 commit comments