Skip to content

Commit

Permalink
Various changes here and there :-)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Aug 30, 2024
1 parent 3875409 commit a6fe02a
Show file tree
Hide file tree
Showing 14 changed files with 260 additions and 297 deletions.
37 changes: 37 additions & 0 deletions .launchers/Install on iOS Device.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Install on iOS Device" type="MavenRunConfiguration" factoryName="Maven">
<MavenSettings>
<option name="myGeneralSettings" />
<option name="myRunnerSettings" />
<option name="myRunnerParameters">
<MavenRunnerParameters>
<option name="cmdOptions" />
<option name="profiles">
<set />
</option>
<option name="goals">
<list>
<option value="install" />
<option value="gluonfx:build" />
<option value="gluonfx:package" />
<option value="gluonfx:install" />
</list>
</option>
<option name="multimoduleDir" />
<option name="pomFileName" value="pom.xml" />
<option name="profilesMap">
<map>
<entry key="ios" value="true" />
</map>
</option>
<option name="projectsCmdOptionValues">
<list />
</option>
<option name="resolveToWorkspace" value="false" />
<option name="workingDirPath" value="$PROJECT_DIR$/app" />
</MavenRunnerParameters>
</option>
</MavenSettings>
<method v="2" />
</configuration>
</component>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import com.dlsc.jfxcentral2.app.pages.MobileRefreshPage;
import com.dlsc.jfxcentral2.events.OpenWebLinkEvent;
import com.dlsc.jfxcentral2.events.RepositoryUpdatedEvent;
import com.dlsc.jfxcentral2.mobile.components.BottomMenuBar;
import com.dlsc.jfxcentral2.mobile.components.MobileDevelopToolBar;
import com.dlsc.jfxcentral2.mobile.pages.MainPage;
import com.dlsc.jfxcentral2.mobile.pages.MobileHomePage;
Expand Down Expand Up @@ -135,7 +134,7 @@ public void start(Stage stage) {
scene.setFill(Color.web("#070B32"));
scene.widthProperty().addListener((it -> updateSizeProperty(scene)));
scene.getStylesheets().add(Objects.requireNonNull(NodeUtil.class.getResource("/com/dlsc/jfxcentral2/theme.css")).toExternalForm());
scene.getStylesheets().add(Objects.requireNonNull(BottomMenuBar.class.getResource("/com/dlsc/jfxcentral2/mobile/mobile.css")).toExternalForm());
scene.getStylesheets().add(Objects.requireNonNull(MainPage.class.getResource("/com/dlsc/jfxcentral2/mobile/mobile.css")).toExternalForm());
// scene.focusOwnerProperty().addListener(it -> System.out.println("focus owner: " + scene.getFocusOwner()));
updateSizeProperty(scene);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
import javafx.scene.control.Label;
import javafx.scene.image.Image;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Region;
import javafx.scene.layout.VBox;
import javafx.scene.text.TextAlignment;
import one.jpro.platform.routing.LinkUtil;
import org.kordamp.ikonli.javafx.FontIcon;
import scala.Option;
Expand Down Expand Up @@ -36,14 +39,21 @@ public LinksOfTheWeekHeader() {
CustomImageView rssImageView = new CustomImageView();
rssImageView.setImage(RSS_IMAGE);
LinkUtil.setLinkInternalNoPush(rssImageView, "/lotw/rss.xml", Option.empty(), false);
//rssImageView.setVisible(false);
//rssImageView.setManaged(false);

HBox box = new HBox(label, rssImageView);
box.getStyleClass().add("rss-box");
box.setAlignment(Pos.CENTER);

setContent(box);
Label descriptionLabel = new Label("Do you have JavaFX news you want to share with the community? Let us know!\nSend a mail to [email protected]");
descriptionLabel.getStyleClass().add("description-label");
descriptionLabel.setWrapText(true);
descriptionLabel.setMinHeight(Region.USE_PREF_SIZE);
descriptionLabel.setTextAlignment(TextAlignment.CENTER);

VBox vbox = new VBox(20, box, descriptionLabel);
vbox.setAlignment(Pos.CENTER);

setContent(vbox);
setTitle("Links of the Week");
setIkon(IkonUtil.getModelIkon(LinksOfTheWeek.class));
setBackgroundImage(BACKGROUND_IMAGE);
Expand Down
1 change: 1 addition & 0 deletions components/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
requires org.kordamp.ikonli.zondicons;
requires com.rometools.rome;
requires java.prefs;
requires jpro.utils.treeshowing;
// ikonli icon packs END

exports com.dlsc.jfxcentral2.components;
Expand Down
5 changes: 5 additions & 0 deletions components/src/main/resources/com/dlsc/jfxcentral2/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -3273,6 +3273,11 @@
-fx-fit-height: 32px;
}

.links-of-the-week-header .description-label {
-fx-padding: 20px;
-fx-text-fill: -white;
}

/** ------------------------------------
* PersonDetailHeader
*/
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ public record IntroCardData(String title, String description, String imageUrl) {
}

public final List<IntroCardData> introCardData = new ArrayList<>(List.of(
new IntroCardData("JavaFX Books", "Explore our JavaFX book collection, from beginner guides to advanced tutorials, including game development and use-cases like JavaFX for Raspberry Pi.", "books.png"),
new IntroCardData("Videos", "Watch JavaFX videos, conference talks, demos, and tutorials for all expertise levels.", "videos.png"),
new IntroCardData("Libraries", "Explore JavaFX third-party libraries, featuring components, game engines, styles, 3D graphics, and frameworks to enhance your projects.", "libraries.png"),
new IntroCardData("JavaFX Tutorials", "Browse tutorials ranging from JavaFX basics to advanced application and game development.", "tutorials.png"),
new IntroCardData("Tools", "Explore JavaFX tools including plugins, layout, CSS tools, testing, and packaging.", "tools.png"),
new IntroCardData("Books", "Beginner guides, advanced tutorials, game development.", "books.png"),
new IntroCardData("Videos", "Watch videos of conference talks, demos, and tutorials.", "videos.png"),
new IntroCardData("Libraries", "Explore third-party libraries that you can add to your own applications.", "libraries.png"),
new IntroCardData("Tutorials", "See a listing of places where you can find good online tutorials.", "tutorials.png"),
new IntroCardData("Tools", "Find out which tools are available for styling, testing, packaging, etc...", "tools.png"),
new IntroCardData("Links of The Week", "Miscellaneous stuff found on the web that is related to JavaFX.", "news.png"),
new IntroCardData("Tips & Tricks", "Discover practical JavaFX tips in this section, featuring articles that share real-world techniques and tricks for effective JavaFX development.", "tips.png"),
new IntroCardData("JavaFX Blogs", "Visit our blog section for articles from JavaFX experts, featuring practical tips, cutting-edge insights, and more from the world of JavaFX.", "blogs.png"),
new IntroCardData("People", "A curated list of people connected to JavaFX. They develop libraries, applications, tools or they present at conferences and evangelise JavaFX.", "people.png"),
new IntroCardData("Companies", "Explore companies in JavaFX, especially those with significant influence and contributions to the JavaFX community, shaping and advancing the ecosystem.", "companies.png")
new IntroCardData("Tips & Tricks", "Real-world tips and tricks for effective user interface development.", "tips.png"),
new IntroCardData("Blogs", "A collection of blogs related to JavaFX", "blogs.png"),
new IntroCardData("People", "People that influence the JavaFX ecosystem.", "people.png"),
new IntroCardData("Companies", "Companies that contribute to the JavaFX ecosystem.", "companies.png")
));

public IntroPane() {
Expand Down
Loading

0 comments on commit a6fe02a

Please sign in to comment.