Skip to content

Commit ac4aac8

Browse files
committed
Minor changes + emitters updated
1 parent c678650 commit ac4aac8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

emitters.bin

941 Bytes
Binary file not shown.

src/main/java/ru/shemplo/tbs/gfx/TBSUIApplication.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
import javafx.scene.control.Tab;
1515
import javafx.scene.control.TabPane;
1616
import javafx.scene.control.TextField;
17+
import javafx.scene.control.Tooltip;
1718
import javafx.scene.layout.HBox;
1819
import javafx.scene.layout.Priority;
1920
import javafx.scene.layout.VBox;
@@ -97,6 +98,7 @@ public void start (Stage stage) throws Exception {
9798

9899
final var bondTickerField = new TextField ();
99100
bondTickerField.setFont (Font.font ("Consolas", 12.0));
101+
bondTickerField.setTooltip (new Tooltip ("Type ticker and press <Enter> to open bond details"));
100102
bondTickerField.setMinWidth (200.0);
101103

102104
final var bondTickerFieldTitle = new TileWithHeader <> ("Open bond details by ticker", bondTickerField);

src/main/java/ru/shemplo/tbs/gfx/launcher/TBSLauncher.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,17 +220,17 @@ private Parent makeScanNewSection () {
220220
deleteProfileButton.setMnemonicParsing (true);
221221
buttonsColumn.getChildren ().add (deleteProfileButton);
222222

223-
openStatisticsButton = new Button ("Calculate _statistics");
224-
openStatisticsButton.minWidthProperty ().bind (openScannedBondsButton.widthProperty ());
225-
openStatisticsButton.setMnemonicParsing (true);
226-
VBox.setMargin (openStatisticsButton, new Insets (8.0, 0.0, 0.0, 0.0));
227-
buttonsColumn.getChildren ().add (openStatisticsButton);
228-
229223
openCouponsCalendarButton = new Button ("Open coupons _calendar");
230224
openCouponsCalendarButton.minWidthProperty ().bind (openScannedBondsButton.widthProperty ());
231225
openCouponsCalendarButton.setMnemonicParsing (true);
226+
VBox.setMargin (openCouponsCalendarButton, new Insets (8.0, 0.0, 0.0, 0.0));
232227
buttonsColumn.getChildren ().add (openCouponsCalendarButton);
233228

229+
openStatisticsButton = new Button ("Calculate _statistics");
230+
openStatisticsButton.minWidthProperty ().bind (openScannedBondsButton.widthProperty ());
231+
openStatisticsButton.setMnemonicParsing (true);
232+
buttonsColumn.getChildren ().add (openStatisticsButton);
233+
234234
final var setupColumn = new VBox (8.0);
235235
line.getChildren ().add (setupColumn);
236236

0 commit comments

Comments
 (0)