Update style.
This commit is contained in:
parent
57dba48d46
commit
cda74d3571
|
@ -7,9 +7,7 @@ type: docker
|
|||
# os: linux
|
||||
# arch: amd64
|
||||
|
||||
|
||||
steps:
|
||||
|
||||
- name: jpackage
|
||||
image: docker.io/eclipse-temurin:17
|
||||
environment:
|
||||
|
|
|
@ -41,10 +41,12 @@ dependencies {
|
|||
implementation 'org.slf4j:slf4j-api:2.0.7' // Logging API
|
||||
runtimeOnly 'org.slf4j:slf4j-simple:2.0.7' // Logging API
|
||||
|
||||
implementation 'io.github.mkpaz:atlantafx-base:2.0.1'
|
||||
implementation 'jakarta.inject:jakarta.inject-api:2.0.1'
|
||||
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
|
||||
implementation 'org.jmdns:jmdns:3.5.8'
|
||||
|
||||
|
||||
testImplementation 'org.spockframework:spock-core:2.3-groovy-3.0'
|
||||
testImplementation 'org.slf4j:slf4j-simple:2.0.7'
|
||||
}
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 59 KiB |
|
@ -1 +1 @@
|
|||
version = 1.0.1
|
||||
version = 1.0.2
|
||||
|
|
|
@ -6,6 +6,7 @@ import javafx.fxml.FXMLLoader;
|
|||
import javafx.scene.Scene;
|
||||
import javafx.scene.image.Image;
|
||||
import javafx.stage.Stage;
|
||||
import atlantafx.base.theme.NordDark;
|
||||
|
||||
import java.awt.Taskbar;
|
||||
import java.awt.Toolkit;
|
||||
|
@ -40,6 +41,9 @@ public class App extends Application {
|
|||
|
||||
}
|
||||
|
||||
// find more themes in 'atlantafx.base.theme' package
|
||||
Application.setUserAgentStylesheet(new NordDark().getUserAgentStylesheet());
|
||||
|
||||
FXMLLoader fxmlLoader = new FXMLLoader(App.class.getResource("main.fxml"));
|
||||
Scene scene = new Scene(fxmlLoader.load());
|
||||
primaryStage.setTitle("mDNS Explorer");
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
module biz.nellemann.mdexpl {
|
||||
requires javafx.controls;
|
||||
requires javafx.fxml;
|
||||
requires java.desktop;
|
||||
requires javax.jmdns;
|
||||
requires org.slf4j;
|
||||
requires jakarta.inject;
|
||||
requires jakarta.annotation;
|
||||
requires java.desktop;
|
||||
requires atlantafx.base;
|
||||
|
||||
opens biz.nellemann.mdexpl to javafx.fxml;
|
||||
exports biz.nellemann.mdexpl;
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<ListView fx:id="listView" BorderPane.alignment="CENTER" />
|
||||
</center>
|
||||
<right>
|
||||
<ListView fx:id="propertiesList" />
|
||||
<ListView fx:id="propertiesList" maxWidth="1.7976931348623157E308" prefWidth="360.0" />
|
||||
</right>
|
||||
|
||||
</BorderPane>
|
||||
|
|
Loading…
Reference in a new issue