// Path: src/main/java-templates/com/athaydes/logfx/Constants.java
// public class Constants {
//     public static final String LOGFX_VERSION = "${logfxVersion}";
// }
// 
// Path: src/main/java/com/athaydes/logfx/ui/FxUtils.java
// public static String resourcePath( String name ) {
//     return resourceUrl( name ).toExternalForm();
// }


import com.athaydes.logfx.Constants;
import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;
import javafx.stage.StageStyle;
import static com.athaydes.logfx.ui.FxUtils.resourcePath;
package com.athaydes.logfx.ui;



/**
 * About LogFX View.
 */
public class AboutLogFXView {

    public static final int WIDTH = 500;
    public static final int HEIGHT = 350;

    VBox createNode() {
        VBox contents = new VBox( 25 );
        contents.setPrefSize( WIDTH, HEIGHT );
        contents.setAlignment( Pos.CENTER );
        contents.getStylesheets().add( resourcePath( "css/about.css" ) );

        HBox textBox = new HBox( 0 );
        textBox.setPrefWidth( 500 );
        textBox.setAlignment( Pos.CENTER );
        Text logText = new Text( "Log" );
        logText.setId( "logfx-text-log" );
        Text fxText = new Text( "FX" );
        fxText.setId( "logfx-text-fx" );
        textBox.getChildren().addAll( logText, fxText );

        VBox smallText = new VBox( 10 );
        smallText.setPrefWidth( 500 );
        smallText.setAlignment( Pos.CENTER );
// Path: src/main/java-templates/com/athaydes/logfx/Constants.java
// public class Constants {
//     public static final String LOGFX_VERSION = "${logfxVersion}";
// }
// 
// Path: src/main/java/com/athaydes/logfx/ui/FxUtils.java
// public static String resourcePath( String name ) {
//     return resourceUrl( name ).toExternalForm();
// }


// Path: src/main/java/com/athaydes/logfx/ui/AboutLogFXView.java
import com.athaydes.logfx.Constants;
import javafx.geometry.Pos;
import javafx.scene.Group;
import javafx.scene.layout.HBox;
import javafx.scene.layout.VBox;
import javafx.scene.text.Text;
import javafx.stage.StageStyle;
import static com.athaydes.logfx.ui.FxUtils.resourcePath;

package com.athaydes.logfx.ui;



/**
 * About LogFX View.
 */
public class AboutLogFXView {

    public static final int WIDTH = 500;
    public static final int HEIGHT = 350;

    VBox createNode() {
        VBox contents = new VBox( 25 );
        contents.setPrefSize( WIDTH, HEIGHT );
        contents.setAlignment( Pos.CENTER );
        contents.getStylesheets().add( resourcePath( "css/about.css" ) );

        HBox textBox = new HBox( 0 );
        textBox.setPrefWidth( 500 );
        textBox.setAlignment( Pos.CENTER );
        Text logText = new Text( "Log" );
        logText.setId( "logfx-text-log" );
        Text fxText = new Text( "FX" );
        fxText.setId( "logfx-text-fx" );
        textBox.getChildren().addAll( logText, fxText );

        VBox smallText = new VBox( 10 );
        smallText.setPrefWidth( 500 );
        smallText.setAlignment( Pos.CENTER );
        Text version = new Text( "Version " + Constants.LOGFX_VERSION );