|
10 | 10 | <?import javafx.scene.layout.GridPane?>
|
11 | 11 | <?import javafx.scene.layout.HBox?>
|
12 | 12 | <?import javafx.scene.layout.RowConstraints?>
|
| 13 | +<?import javafx.scene.layout.VBox?> |
13 | 14 | <?import javafx.stage.Stage?>
|
14 | 15 |
|
15 | 16 | <fx:root title="%Browser.ServerBrowser.Settings.title" type="Stage" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
|
16 | 17 | <scene>
|
17 |
| - <Scene> |
18 |
| - <GridPane hgap="5.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" vgap="10.0"> |
19 |
| - <columnConstraints> |
20 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
21 |
| - <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
22 |
| - </columnConstraints> |
23 |
| - <rowConstraints> |
24 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
25 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
26 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
27 |
| - <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
28 |
| - </rowConstraints> |
29 |
| - <padding> |
30 |
| - <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> |
31 |
| - </padding> |
32 |
| - <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" text="%Browser.ServerBrowser.Settings.mxPixelBufferAPIPort"> |
33 |
| - <tooltip> |
34 |
| - <Tooltip text="%Browser.ServerBrowser.Settings.mxPixelBufferAPIPortDescription" /> |
35 |
| - </tooltip> |
36 |
| - </Label> |
37 |
| - <TextField fx:id="msPixelBufferAPIPort" GridPane.columnIndex="1"> |
38 |
| - <tooltip> |
39 |
| - <Tooltip text="%Browser.ServerBrowser.Settings.mxPixelBufferAPIPortDescription" /> |
40 |
| - </tooltip> |
41 |
| - </TextField> |
42 |
| - <Label layoutX="25.0" layoutY="25.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" text="%Browser.ServerBrowser.Settings.webJpegQuality" GridPane.rowIndex="1"> |
43 |
| - <tooltip> |
44 |
| - <Tooltip text="%Browser.ServerBrowser.Settings.webJpegQualityDescription" /> |
45 |
| - </tooltip> |
46 |
| - </Label> |
47 |
| - <TextField fx:id="webJpegQuality" layoutX="564.0" layoutY="27.0" GridPane.columnIndex="1" GridPane.rowIndex="1"> |
48 |
| - <tooltip> |
49 |
| - <Tooltip text="%Browser.ServerBrowser.Settings.webJpegQualityDescription" /> |
50 |
| - </tooltip> |
51 |
| - </TextField> |
52 |
| - <Label text="%Browser.ServerBrowser.Settings.omeroServerAddress" GridPane.rowIndex="2"> |
53 |
| - <tooltip> |
54 |
| - <Tooltip text="%Browser.ServerBrowser.Settings.omeroServerAddressDescription" /> |
55 |
| - </tooltip> |
56 |
| - </Label> |
57 |
| - <TextField fx:id="omeroAddress" GridPane.columnIndex="1" GridPane.rowIndex="2"> |
58 |
| - <tooltip> |
59 |
| - <Tooltip text="%Browser.ServerBrowser.Settings.omeroServerAddressDescription" /> |
60 |
| - </tooltip> |
61 |
| - </TextField> |
62 |
| - <HBox alignment="CENTER_RIGHT" spacing="10.0" GridPane.columnSpan="2147483647" GridPane.rowIndex="3"> |
63 |
| - <Button mnemonicParsing="false" onAction="#onOKClicked" text="%Browser.ServerBrowser.Settings.ok" /> |
64 |
| - <Button mnemonicParsing="false" onAction="#onCancelClicked" text="%Browser.ServerBrowser.Settings.cancel" /> |
65 |
| - <Button mnemonicParsing="false" onAction="#onApplyClicked" text="%Browser.ServerBrowser.Settings.apply" /> |
66 |
| - </HBox> |
67 |
| - </GridPane> |
| 18 | + <Scene stylesheets="@../../../../styles.css"> |
| 19 | + <VBox> |
| 20 | + <VBox> |
| 21 | + <children> |
| 22 | + <Label styleClass="title" text="%Browser.ServerBrowser.Settings.webAPI" /> |
| 23 | + <GridPane hgap="5.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" vgap="10.0"> |
| 24 | + <columnConstraints> |
| 25 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
| 26 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
| 27 | + </columnConstraints> |
| 28 | + <rowConstraints> |
| 29 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 30 | + </rowConstraints> |
| 31 | + <padding> |
| 32 | + <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> |
| 33 | + </padding> |
| 34 | + <children> |
| 35 | + <Label layoutX="25.0" layoutY="25.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" text="%Browser.ServerBrowser.Settings.webAPIJpegQuality"> |
| 36 | + <tooltip> |
| 37 | + <Tooltip text="%Browser.ServerBrowser.Settings.webAPIJpegQualityDescription" /> |
| 38 | + </tooltip> |
| 39 | + </Label> |
| 40 | + <TextField fx:id="webJpegQuality" layoutX="564.0" layoutY="27.0" GridPane.columnIndex="1"> |
| 41 | + <tooltip> |
| 42 | + <Tooltip text="%Browser.ServerBrowser.Settings.webAPIJpegQualityDescription" /> |
| 43 | + </tooltip> |
| 44 | + </TextField> |
| 45 | + </children> |
| 46 | + </GridPane> |
| 47 | + </children> |
| 48 | + </VBox> |
| 49 | + <VBox> |
| 50 | + <children> |
| 51 | + <Label styleClass="title" text="%Browser.ServerBrowser.Settings.iceAPI" /> |
| 52 | + <GridPane hgap="5.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" vgap="10.0"> |
| 53 | + <columnConstraints> |
| 54 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
| 55 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
| 56 | + </columnConstraints> |
| 57 | + <rowConstraints> |
| 58 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 59 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 60 | + </rowConstraints> |
| 61 | + <padding> |
| 62 | + <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> |
| 63 | + </padding> |
| 64 | + <children> |
| 65 | + <Label text="%Browser.ServerBrowser.Settings.iceAPIServerAddress"> |
| 66 | + <tooltip> |
| 67 | + <Tooltip text="%Browser.ServerBrowser.Settings.iceAPIServerAddressDescription" /> |
| 68 | + </tooltip> |
| 69 | + </Label> |
| 70 | + <TextField fx:id="omeroAddress" GridPane.columnIndex="1"> |
| 71 | + <tooltip> |
| 72 | + <Tooltip text="%Browser.ServerBrowser.Settings.iceAPIServerAddressDescription" /> |
| 73 | + </tooltip> |
| 74 | + </TextField> |
| 75 | + <Label text="%Browser.ServerBrowser.Settings.iceAPIServerPort" GridPane.rowIndex="1"> |
| 76 | + <tooltip> |
| 77 | + <Tooltip text="%Browser.ServerBrowser.Settings.iceAPIServerPortDescription" /> |
| 78 | + </tooltip> |
| 79 | + </Label> |
| 80 | + <TextField fx:id="omeroPort" GridPane.columnIndex="1" GridPane.rowIndex="1"> |
| 81 | + <tooltip> |
| 82 | + <Tooltip text="%Browser.ServerBrowser.Settings.iceAPIServerPortDescription" /> |
| 83 | + </tooltip> |
| 84 | + </TextField> |
| 85 | + </children> |
| 86 | + </GridPane> |
| 87 | + </children> |
| 88 | + </VBox> |
| 89 | + <VBox> |
| 90 | + <children> |
| 91 | + <Label styleClass="title" text="%Browser.ServerBrowser.Settings.msPixelBufferAPI" /> |
| 92 | + <GridPane hgap="5.0" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" vgap="10.0"> |
| 93 | + <columnConstraints> |
| 94 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
| 95 | + <ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" /> |
| 96 | + </columnConstraints> |
| 97 | + <rowConstraints> |
| 98 | + <RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" /> |
| 99 | + </rowConstraints> |
| 100 | + <padding> |
| 101 | + <Insets bottom="15.0" left="15.0" right="15.0" top="15.0" /> |
| 102 | + </padding> |
| 103 | + <children> |
| 104 | + <Label maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" text="%Browser.ServerBrowser.Settings.msPixelBufferAPIPort"> |
| 105 | + <tooltip> |
| 106 | + <Tooltip text="%Browser.ServerBrowser.Settings.msPixelBufferAPIPortDescription" /> |
| 107 | + </tooltip> |
| 108 | + </Label> |
| 109 | + <TextField fx:id="msPixelBufferAPIPort" GridPane.columnIndex="1"> |
| 110 | + <tooltip> |
| 111 | + <Tooltip text="%Browser.ServerBrowser.Settings.msPixelBufferAPIPortDescription" /> |
| 112 | + </tooltip> |
| 113 | + </TextField> |
| 114 | + </children> |
| 115 | + </GridPane> |
| 116 | + </children> |
| 117 | + </VBox> |
| 118 | + <HBox alignment="CENTER_RIGHT" spacing="10.0"> |
| 119 | + <children> |
| 120 | + <Button mnemonicParsing="false" onAction="#onOKClicked" text="%Browser.ServerBrowser.Settings.ok" /> |
| 121 | + <Button mnemonicParsing="false" onAction="#onCancelClicked" text="%Browser.ServerBrowser.Settings.cancel" /> |
| 122 | + <Button mnemonicParsing="false" onAction="#onApplyClicked" text="%Browser.ServerBrowser.Settings.apply" /> |
| 123 | + </children> |
| 124 | + </HBox> |
| 125 | + <padding> |
| 126 | + <Insets bottom="10.0" left="10.0" right="10.0" top="10.0" /> |
| 127 | + </padding> |
| 128 | + </VBox> |
68 | 129 | </Scene>
|
69 | 130 | </scene>
|
70 | 131 | </fx:root>
|
0 commit comments