|
6 | 6 | <?import javafx.scene.control.Button?> |
7 | 7 | <?import javafx.scene.control.ComboBox?> |
8 | 8 | <?import javafx.scene.control.Label?> |
| 9 | +<?import javafx.scene.control.ProgressIndicator?> |
9 | 10 | <?import javafx.scene.control.TextArea?> |
10 | 11 | <?import javafx.scene.control.TextField?> |
11 | 12 | <?import javafx.scene.control.Tooltip?> |
|
75 | 76 | </cursor> |
76 | 77 | </Button> |
77 | 78 | <TextField fx:id="searchBar" promptText="Search..." style="-fx-background-radius: 45;" styleClass="jfx-text-area" HBox.hgrow="ALWAYS" /> |
78 | | - <ComboBox fx:id="searchEngineComboBox" promptText="Search Engine"> |
79 | | - <cursor> |
80 | | - <Cursor fx:constant="HAND" /> |
81 | | - </cursor> |
82 | | - </ComboBox> |
83 | 79 | <Button fx:id="goButton" mnemonicParsing="false" style="-fx-background-radius: 0 45 45 0;" text="Go"> |
84 | 80 | <tooltip> |
85 | 81 | <Tooltip text="Load the Web Site" /> |
|
88 | 84 | <Cursor fx:constant="HAND" /> |
89 | 85 | </cursor> |
90 | 86 | </Button> |
| 87 | + <ComboBox fx:id="searchEngineComboBox" promptText="Search Engine"> |
| 88 | + <cursor> |
| 89 | + <Cursor fx:constant="HAND" /> |
| 90 | + </cursor> |
| 91 | + <HBox.margin> |
| 92 | + <Insets left="5.0" /> |
| 93 | + </HBox.margin> |
| 94 | + </ComboBox> |
91 | 95 | </children> |
92 | 96 | </HBox> |
93 | 97 | <!-- <SearchEngineComboBox fx:id="searchEngineComboBox" prefHeight="31.0" prefWidth="152.0" promptText="search engine"> |
|
115 | 119 | </image> |
116 | 120 | </ImageView> |
117 | 121 | <Label styleClass="sideBarSectionLabel" text="Server not found" textAlignment="CENTER" wrapText="true" /> |
118 | | - <TextArea editable="false" focusTraversable="false" maxHeight="-Infinity" maxWidth="-Infinity" mouseTransparent="true" prefHeight="156.0" prefWidth="587.0" text=" 1.Check the address for typing errors such as ww.example.com instead of www.example.com 2.If you are unable to load any pages, check your computer’s network connection. 3.If your computer or network is protected by a firewall or proxy, make sure that XR3Player is permitted to access the Web." wrapText="true" /> |
119 | | - <JFXButton fx:id="tryAgain" buttonType="RAISED" ripplerFill="#fa0c0c" text="Try Again"> |
| 122 | + <TextArea editable="false" focusTraversable="false" maxHeight="-Infinity" maxWidth="-Infinity" mouseTransparent="true" text=" 1.Check the address for typing errors such as ww.example.com instead of www.example.com 2.If you are unable to load any pages, check your computer’s network connection. 3.If your computer or network is protected by a firewall or proxy, make sure that XR3Player is permitted to access the Web." wrapText="true"> |
| 123 | + <VBox.margin> |
| 124 | + <Insets left="5.0" right="5.0" /> |
| 125 | + </VBox.margin></TextArea> |
| 126 | + <JFXButton fx:id="tryAgain" buttonType="RAISED" contentDisplay="RIGHT" ripplerFill="#fa0c0c" text="Try Again"> |
120 | 127 | <cursor> |
121 | 128 | <Cursor fx:constant="HAND" /> |
122 | 129 | </cursor> |
| 130 | + <graphic> |
| 131 | + <ProgressIndicator fx:id="tryAgainIndicator" styleClass="dropbox-progress-indicator" visible="false" /> |
| 132 | + </graphic> |
123 | 133 | </JFXButton> |
124 | 134 | </children> |
125 | 135 | </VBox> |
|
0 commit comments