Archived
0

add button show helper

This commit is contained in:
iMoHax
2015-10-01 16:17:57 +03:00
parent ac08034a64
commit 66280c399a
2 changed files with 9 additions and 0 deletions

View File

@@ -60,6 +60,11 @@ public class ProfileController {
initListeners();
}
@FXML
private void showHelper(){
Screeners.showHelper();
}
private void consumeChanges(Runnable runnable){
if (ignoreChanges) return;
ignoreChanges = true;

View File

@@ -6,6 +6,7 @@
<?import ru.trader.view.support.cells.OfferListCell?>
<?import javafx.geometry.Insets?>
<?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"
fx:controller="ru.trader.controllers.ProfileController"
spacing="4" >
@@ -21,6 +22,9 @@
<Button fx:id="btnAddStation"/>
<Label text="В доке:" />
<CheckBox fx:id="docked" />
<Button prefWidth="30" onAction="#showHelper">
<graphic><Glyph text="FontAwesome|ROCKET"/></graphic>
</Button>
<VBox>
<HBox>
<Label text="Трюм:" />