mirror of
https://github.com/xpipe-io/xpipe.git
synced 2025-04-18 18:23:38 +00:00
Small additional fixes [release]
This commit is contained in:
parent
de14d0a37b
commit
76c78d9d78
1 changed files with 8 additions and 6 deletions
|
@ -142,12 +142,6 @@ public class StoreEntryComp extends SimpleComp {
|
|||
|
||||
grid.getStyleClass().add("store-entry-grid");
|
||||
|
||||
grid.setOnMouseClicked(event -> {
|
||||
if (entry.getEditable().get()) {
|
||||
entry.editDialog();
|
||||
}
|
||||
});
|
||||
|
||||
applyState(grid);
|
||||
|
||||
var button = new JFXButton();
|
||||
|
@ -155,6 +149,14 @@ public class StoreEntryComp extends SimpleComp {
|
|||
GrowAugment.create(true, false).augment(new SimpleCompStructure<>(grid));
|
||||
button.getStyleClass().add("store-entry-comp");
|
||||
button.setMaxWidth(2000);
|
||||
button.setFocusTraversable(false);
|
||||
button.setOnAction(event -> {
|
||||
event.consume();
|
||||
if (entry.getEditable().get()) {
|
||||
entry.editDialog();
|
||||
}
|
||||
});
|
||||
|
||||
return button;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue