SlideShow toggle is disabled initialy; fix relative paths to images in fxml

This commit is contained in:
jmillman 2015-06-23 16:23:59 -04:00
parent 257ebc64da
commit bb85f3feda
2 changed files with 58 additions and 56 deletions

View File

@ -23,12 +23,12 @@
<children>
<ImageView fx:id="fileTypeImageView" fitHeight="16.0" fitWidth="16.0" mouseTransparent="true" pickOnBounds="true" preserveRatio="true" scaleX="1.0" scaleY="1.0">
<image>
<Image url="@../images/video-file.png" />
<Image url="@../../images/video-file.png" />
</image>
</ImageView>
<ImageView fx:id="hashHitImageView" fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true" style="">
<image>
<Image url="@../images/hashset_hits.png" />
<Image url="@../../images/hashset_hits.png" />
</image>
<HBox.margin>
<Insets bottom="1.0" left="1.0" right="1.0" top="1.0" fx:id="x1" />
@ -45,7 +45,7 @@
<graphic>
<ImageView id="followUpImageview" fx:id="followUpImageView" fitHeight="16.0" fitWidth="16.0" pickOnBounds="true" preserveRatio="true">
<image>
<Image url="@../images/flag_gray.png" />
<Image url="@../../images/flag_gray.png" />
</image>
</ImageView>
</graphic>
@ -55,8 +55,10 @@
</bottom>
<center>
<BorderPane fx:id="imageBorder" center="$imageView" maxHeight="-1.0" maxWidth="-1.0" minWidth="-Infinity" prefHeight="-1.0" prefWidth="-1.0" BorderPane.alignment="CENTER">
<center><ImageView fx:id="imageView" fitHeight="100.0" fitWidth="100.0" pickOnBounds="true" preserveRatio="true" BorderPane.alignment="CENTER" />
</center></BorderPane>
<center>
<ImageView fx:id="imageView" fitHeight="100.0" fitWidth="100.0" pickOnBounds="true" preserveRatio="true" BorderPane.alignment="CENTER" />
</center>
</BorderPane>
</center>
</BorderPane>
</children>

View File

@ -113,7 +113,7 @@
</ImageView>
</graphic>
</ToggleButton>
<ToggleButton id="filmStripToggle" fx:id="slideShowToggle" contentDisplay="GRAPHIC_ONLY" graphicTextGap="0.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="32.0" mnemonicParsing="false" prefWidth="-1.0" text="">
<ToggleButton id="filmStripToggle" fx:id="slideShowToggle" disable="true" contentDisplay="GRAPHIC_ONLY" graphicTextGap="0.0" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="32.0" mnemonicParsing="false" prefWidth="-1.0" text="">
<graphic>
<ImageView fitHeight="16.0" fitWidth="16.0" mouseTransparent="true" pickOnBounds="true" preserveRatio="true" rotate="90.0" translateY="1.0">
<image>