Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Commit

Permalink
fixed display of imprint
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://hausach.mfo.de/localhome/imaginar/svn/imaginary/jsurfer/branches/JFXSurfer@791 4beaa02c-d2ff-4d45-9dad-6a4a666722bb
  • Loading branch information
stussak committed Mar 5, 2015
1 parent 3460281 commit 32dc98d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/de/mfo/jsurfer/fxgui/FXImpressum.fx
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ public class FXImpressum extends javafx.scene.CustomNode

public override function create(): javafx.scene.Node
{
var path : String = bind "/de/mfo/jsurfer/fxgui/{messages.getString( "imprintFile" )}";
return javafx.scene.image.ImageView
{
image : bind javafx.scene.image.Image {
url: "{__DIR__}{messages.getString( "imprintFile" )}"}
image : bind javafx.scene.image.Image {
url: de.mfo.jsurfer.gui.Gallery.class.getResource( path ).toString();
}
fitWidth:bind width
fitHeight:bind height
preserveRatio: true
Expand Down

0 comments on commit 32dc98d

Please sign in to comment.