Skip to content

Commit

Permalink
Adjust TitledGroup num rows if feature is hidden
Browse files Browse the repository at this point in the history
  • Loading branch information
ghubstan committed Sep 25, 2019
1 parent 41eb841 commit ddfed2d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ protected void deactivate() {
///////////////////////////////////////////////////////////////////////////////////////////

private void initializeGeneralOptions() {
TitledGroupBg titledGroupBg = addTitledGroupBg(root, gridRow, 8, Res.get("setting.preferences.general"));
int titledGroupBgRowSpan = displayStandbyModeFeature ? 8 : 7;
TitledGroupBg titledGroupBg = addTitledGroupBg(root, gridRow, titledGroupBgRowSpan, Res.get("setting.preferences.general"));
GridPane.setColumnSpan(titledGroupBg, 1);

// selectBaseCurrencyNetwork
Expand Down

0 comments on commit ddfed2d

Please sign in to comment.