mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 10:22:18 +01:00
Change param map in state
This commit is contained in:
parent
0f1a23a651
commit
70d37d31ae
@ -107,13 +107,17 @@ public class ProposalDisplay {
|
||||
|
||||
boolean hasAddedFields = proposalType == ProposalType.COMPENSATION_REQUEST ||
|
||||
proposalType == ProposalType.CHANGE_PARAM;
|
||||
;
|
||||
if (isMakeProposalScreen) {
|
||||
rowSpan = hasAddedFields ? 7 : 5;
|
||||
} else if (showDetails) {
|
||||
rowSpan = hasAddedFields ? 8 : 6;
|
||||
} else {
|
||||
rowSpan = hasAddedFields ? 5 : 4;
|
||||
if (proposalType == ProposalType.COMPENSATION_REQUEST)
|
||||
rowSpan = 5;
|
||||
else if (proposalType == ProposalType.CHANGE_PARAM)
|
||||
rowSpan = 6;
|
||||
else
|
||||
rowSpan = 4;
|
||||
}
|
||||
|
||||
addTitledGroupBg(gridPane, gridRow, rowSpan, title, top);
|
||||
@ -256,7 +260,7 @@ public class ProposalDisplay {
|
||||
bsqAddressTextField.setEditable(isEditable);
|
||||
|
||||
if (paramComboBox != null)
|
||||
paramComboBox.setEditable(isEditable);
|
||||
paramComboBox.setDisable(!isEditable);
|
||||
if (paramValueTextField != null)
|
||||
paramValueTextField.setEditable(isEditable);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user