File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
java/de/doubleslash/keeptime/view Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1818
1919import java .util .Comparator ;
2020
21+ import de .doubleslash .keeptime .common .*;
22+ import javafx .scene .shape .SVGPath ;
2123import org .slf4j .Logger ;
2224import org .slf4j .LoggerFactory ;
2325import org .springframework .stereotype .Component ;
2426
2527import de .doubleslash .keeptime .ApplicationProperties ;
26- import de .doubleslash .keeptime .common .BrowserHelper ;
27- import de .doubleslash .keeptime .common .FileOpenHelper ;
28- import de .doubleslash .keeptime .common .Licenses ;
2928import de .doubleslash .keeptime .view .license .LicenseTableRow ;
3029import javafx .collections .FXCollections ;
3130import javafx .collections .ObservableList ;
@@ -56,6 +55,8 @@ public class AboutController {
5655 @ FXML
5756 private Button reportBugButton ;
5857
58+ @ FXML
59+ private SVGPath bugIcon ;
5960 @ FXML
6061 private Label versionNumberLabel ;
6162
@@ -89,6 +90,9 @@ public void initialize() {
8990
9091 nameColumn .setCellValueFactory (new PropertyValueFactory <>("name" ));
9192
93+ //set SvgPath content
94+ bugIcon .setContent (SvgNodeProvider .getSvgPathWithXMl (Resources .RESOURCE .SVG_BUG_ICON ));
95+
9296 // licenseColumn
9397 final TableColumn <LicenseTableRow , String > licenseColumn = new TableColumn <>("License" );
9498 licenseColumn .setMinWidth (260 );
Original file line number Diff line number Diff line change 6363 <Pane layoutX =" 280" layoutY =" 227" maxHeight =" 50.0" maxWidth =" 135.0" minHeight =" 50.0" minWidth =" 50.0" prefHeight =" 50.0" prefWidth =" 135.0" >
6464 <children >
6565 <Label contentDisplay =" CENTER" layoutY =" -5.0" maxHeight =" 60.0" maxWidth =" 1.7976931348623157E308" minHeight =" 50.0" minWidth =" 50.0" prefHeight =" 60.0" prefWidth =" 107.0" text =" Found a Bug ?" />
66- <SVGPath content="M256 0c53 0 96 43 96 96v3.6c0 15.7-12.7 28.4-28.4 28.4H188.4c-15.7 0-28.4-12.7-28.4-28.4V96c0-53 43-96 96-96zM41.4 105.4c12.5-12.5 32.8-12.5 45.3 0l64 64c.7 .7 1.3 1.4 1.9 2.1c14.2-7.3 30.4-11.4 47.5-11.4H312c17.1 0 33.2 4.1 47.5 11.4c.6-.7 1.2-1.4 1.9-2.1l64-64c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-.7 .7-1.4 1.3-2.1 1.9c6.2 12 10.1 25.3 11.1 39.5H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H416c0 24.6-5.5 47.8-15.4 68.6c2.2 1.3 4.2 2.9 6 4.8l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-63.1-63.1c-24.5 21.8-55.8 36.2-90.3 39.6V240c0-8.8-7.2-16-16-16s-16 7.2-16 16V479.2c-34.5-3.4-65.8-17.8-90.3-39.6L86.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l64-64c1.9-1.9 3.9-3.4 6-4.8C101.5 367.8 96 344.6 96 320H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96.3c1.1-14.1 5-27.5 11.1-39.5c-.7-.6-1.4-1.2-2.1-1.9l-64-64c-12.5-12.5-12.5-32.8 0-45.3zM256 0c53 0 96 43 96 96v3.6c0 15.7-12.7 28.4-28.4 28.4H188.4c-15.7 0-28.4-12.7-28.4-28.4V96c0-53 43-96 96-96zM41.4 105.4c12.5-12.5 32.8-12.5 45.3 0l64 64c.7 .7 1.3 1.4 1.9 2.1c14.2-7.3 30.4-11.4 47.5-11.4H312c17.1 0 33.2 4.1 47.5 11.4c.6-.7 1.2-1.4 1.9-2.1l64-64c12.5-12.5 32.8-12.5 45.3 0s12.5 32.8 0 45.3l-64 64c-.7 .7-1.4 1.3-2.1 1.9c6.2 12 10.1 25.3 11.1 39.5H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H416c0 24.6-5.5 47.8-15.4 68.6c2.2 1.3 4.2 2.9 6 4.8l64 64c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0l-63.1-63.1c-24.5 21.8-55.8 36.2-90.3 39.6V240c0-8.8-7.2-16-16-16s-16 7.2-16 16V479.2c-34.5-3.4-65.8-17.8-90.3-39.6L86.6 502.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l64-64c1.9-1.9 3.9-3.4 6-4.8C101.5 367.8 96 344.6 96 320H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96.3c1.1-14.1 5-27.5 11.1-39.5c-.7-.6-1.4-1.2-2.1-1.9l-64-64c-12.5-12.5-12.5-32.8 0-45.3z" layoutX="-160.0" layoutY="-231.0" scaleX="0.04" scaleY="0.04" />
66+ <SVGPath fx : id =" bugIcon" layoutX =" -160.0" layoutY =" -231.0" scaleX =" 0.04" scaleY =" 0.04" />
6767 </children >
6868 </Pane >
6969 <TableView fx : id =" licenseTableView" focusTraversable =" false" layoutX =" 39.0" layoutY =" 302.0" prefHeight =" 188.0" prefWidth =" 437.0" />
You can’t perform that action at this time.
0 commit comments