Add icon to tag images button
This commit is contained in:
parent
1a6c472470
commit
298149dfdb
2 changed files with 7 additions and 1 deletions
|
@ -45,6 +45,7 @@ dependencies {
|
|||
exclude(group: 'org.openjfx')
|
||||
}
|
||||
implementation('org.kordamp.ikonli:ikonli-javafx:12.3.1')
|
||||
implementation('org.kordamp.ikonli:ikonli-fontawesome5-pack:12.3.1')
|
||||
implementation('com.microsoft.onnxruntime:onnxruntime:1.17.1')
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1-Beta")
|
||||
testImplementation("org.junit.jupiter:junit-jupiter-api:${junitVersion}")
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
|
||||
<?import org.kordamp.ikonli.javafx.FontIcon?>
|
||||
<BorderPane prefHeight="537.0" prefWidth="725.0" xmlns:fx="http://javafx.com/fxml/1" xmlns="http://javafx.com/javafx/17.0.2-ea" fx:controller="com.nuculabs.dev.imagetagger.ui.MainPageController">
|
||||
<padding>
|
||||
<Insets bottom="20.0" left="30.0" right="30.0" top="30.0" />
|
||||
|
@ -13,7 +14,11 @@
|
|||
<padding>
|
||||
<Insets bottom="5" left="5" right="5" top="10" />
|
||||
</padding>
|
||||
<Button onAction="#onTagImagesButtonClick" text="Tag Images" />
|
||||
<Button onAction="#onTagImagesButtonClick" text="Tag Images">
|
||||
<graphic>
|
||||
<FontIcon iconLiteral="far-images" iconSize="16"/>
|
||||
</graphic>
|
||||
</Button>
|
||||
<Separator orientation="VERTICAL" style="-fx-padding: 10px" />
|
||||
</HBox>
|
||||
</top>
|
||||
|
|
Loading…
Reference in a new issue