add button show helper
This commit is contained in:
@@ -60,6 +60,11 @@ public class ProfileController {
|
|||||||
initListeners();
|
initListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@FXML
|
||||||
|
private void showHelper(){
|
||||||
|
Screeners.showHelper();
|
||||||
|
}
|
||||||
|
|
||||||
private void consumeChanges(Runnable runnable){
|
private void consumeChanges(Runnable runnable){
|
||||||
if (ignoreChanges) return;
|
if (ignoreChanges) return;
|
||||||
ignoreChanges = true;
|
ignoreChanges = true;
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
<?import ru.trader.view.support.cells.OfferListCell?>
|
<?import ru.trader.view.support.cells.OfferListCell?>
|
||||||
<?import javafx.geometry.Insets?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import ru.trader.view.support.NumberField?>
|
<?import ru.trader.view.support.NumberField?>
|
||||||
|
<?import org.controlsfx.glyphfont.Glyph?>
|
||||||
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
<HBox xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1"
|
||||||
fx:controller="ru.trader.controllers.ProfileController"
|
fx:controller="ru.trader.controllers.ProfileController"
|
||||||
spacing="4" >
|
spacing="4" >
|
||||||
@@ -21,6 +22,9 @@
|
|||||||
<Button fx:id="btnAddStation"/>
|
<Button fx:id="btnAddStation"/>
|
||||||
<Label text="В доке:" />
|
<Label text="В доке:" />
|
||||||
<CheckBox fx:id="docked" />
|
<CheckBox fx:id="docked" />
|
||||||
|
<Button prefWidth="30" onAction="#showHelper">
|
||||||
|
<graphic><Glyph text="FontAwesome|ROCKET"/></graphic>
|
||||||
|
</Button>
|
||||||
<VBox>
|
<VBox>
|
||||||
<HBox>
|
<HBox>
|
||||||
<Label text="Трюм:" />
|
<Label text="Трюм:" />
|
||||||
|
|||||||
Reference in New Issue
Block a user