Skip to content

Commit

Permalink
Update style.
Browse files Browse the repository at this point in the history
  • Loading branch information
mnellemann committed Aug 23, 2023
1 parent 57dba48 commit cda74d3
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 5 deletions.
2 changes: 0 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ type: docker
# os: linux
# arch: amd64


steps:

- name: jpackage
image: docker.io/eclipse-temurin:17
environment:
Expand Down
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down
Binary file modified doc/mDNS-Explorer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = 1.0.1
version = 1.0.2
4 changes: 4 additions & 0 deletions src/main/java/biz/nellemann/mdexpl/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
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;
Expand Down Expand Up @@ -40,6 +41,9 @@ public void start(Stage primaryStage) throws IOException {

}

// 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");
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/biz/nellemann/mdexpl/main.fxml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit cda74d3

Please sign in to comment.