mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 02:40:42 +00:00
make typeAssumption delete button not focusable using tab
This commit is contained in:
parent
dda2f4747b
commit
b282064f72
@ -58,6 +58,7 @@ public class TypeAssumptionField extends HorizontalLayout implements LocaleChang
|
|||||||
minusIcon.setId(MINUS_ICON_ID);
|
minusIcon.setId(MINUS_ICON_ID);
|
||||||
Button deleteButton = new Button(minusIcon, event -> deleteSelf.accept(this));
|
Button deleteButton = new Button(minusIcon, event -> deleteSelf.accept(this));
|
||||||
deleteButton.setId(ASS_DELETE_BUTTON_ID);
|
deleteButton.setId(ASS_DELETE_BUTTON_ID);
|
||||||
|
deleteButton.setTabIndex(-1);
|
||||||
add(variableInputField, typeInputField, deleteButton);
|
add(variableInputField, typeInputField, deleteButton);
|
||||||
setId(ASSUMPTIONS_FIELD_ID);
|
setId(ASSUMPTIONS_FIELD_ID);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user