Browse Source

Changed font for occupations and the privacy links because of problems with mac (displayed wrongly)

betaFixes
Bianca Steffes 4 years ago
parent
commit
4b13e06a2f
  1. 19
      health_data_export/dependency-reduced-pom.xml
  2. 10
      health_data_export/src/application/UICoordinator.java
  3. BIN
      health_data_export/target/health_data_export-7.jar
  4. 2
      health_data_export/target/maven-archiver/pom.properties
  5. BIN
      health_data_export/target/original-health_data_export-7.jar

19
health_data_export/dependency-reduced-pom.xml

@ -19,7 +19,7 @@
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-dmg-packager</artifactId>
<version>1.1.3</version>
<version>1.3.0</version>
</plugin>
</plugins>
</pluginManagement>
@ -32,6 +32,11 @@
<target>8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.cbi.maven.plugins</groupId>
<artifactId>eclipse-dmg-packager</artifactId>
<version>1.3.0</version>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
@ -69,6 +74,18 @@
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>eclipse cbi</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>eclipse cbi</id>
<url>https://repo.eclipse.org/content/repositories/cbi-releases</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>

10
health_data_export/src/application/UICoordinator.java

@ -615,6 +615,7 @@ public class UICoordinator implements ChangeListener<Boolean>
privAgree = new CheckBox();
privAgree.setText(Text.PRIVACY_STATEMENT_ACCEPTED);
privAgree.setWrapText(true);
privAgree.setStyle("-fx-font-family: \"Arial\"");
privAgree.selectedProperty().addListener(new ChangeListener<Boolean>()
{
@Override
@ -779,7 +780,10 @@ public class UICoordinator implements ChangeListener<Boolean>
// View for clicking and setting the path for saving the resulting data
BorderPane selectSavePath = new BorderPane();
String currentUsersHomeDir = System.getProperty("user.home");
dirForSaving= new File(currentUsersHomeDir);
if(dirForSaving==null)
{
dirForSaving= new File(currentUsersHomeDir);
}
path = new Label(String.format(Text.F_LABEL_SAVE_PATH, currentUsersHomeDir));
selectSavePath.setCenter(path);
@ -1100,12 +1104,12 @@ public class UICoordinator implements ChangeListener<Boolean>
ComboBox<String> levelTwo = getComboBox(comboContainer);
ComboBox<String> levelThree = getComboBox(comboContainer);
ComboBox<String> levelFour = getComboBox(comboContainer);
levelOne.setStyle("-fx-font-family :\"Arial\"");
levelOne.setItems(getOccupationList(""));
levelOne.setDisable(false);
levelOne.setValue(Text.NOT_SET);
occupation= new Occupation(Text.NOT_SET);
levelOne.valueProperty().addListener(new ChangeListener<String>()
{

BIN
health_data_export/target/health_data_export-7.jar

2
health_data_export/target/maven-archiver/pom.properties

@ -1,5 +1,5 @@
#Generated by Maven
#Fri Apr 30 10:46:45 CEST 2021
#Fri May 21 10:51:02 CEST 2021
groupId=health_data_export
artifactId=health_data_export
version=7

BIN
health_data_export/target/original-health_data_export-7.jar

Loading…
Cancel
Save