Skip to content

Commit

Permalink
Improve vertical margins in the info dialog, see #81
Browse files Browse the repository at this point in the history
  • Loading branch information
samreid committed Dec 27, 2024
1 parent d491a03 commit d728b26
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/least-squares-regression/view/SourceAndReferenceNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ export default class SourceAndReferenceNode extends Dialog {
sourceText.string = StringUtils.format( sourcePatternString, selectedDataSet.source );
} );

super( content );
const VERTICAL_MARGIN = 25;
super( content, {
topMargin: VERTICAL_MARGIN,
closeButtonLength: 10,
bottomMargin: VERTICAL_MARGIN
} );
}
}

Expand Down

0 comments on commit d728b26

Please sign in to comment.