Skip to content

Commit 49bf09f

Browse files
author
Thorben
committed
The space allocation changed to 1/3 (description) to 2/3 (key
generation).
1 parent 95eb867 commit 49bf09f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • org.jcryptool.visual.kleptography/src/org/jcryptool/visual/kleptography/ui

org.jcryptool.visual.kleptography/src/org/jcryptool/visual/kleptography/ui/RSAKeyView.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public Integer getDisplayRadix() {
244244
public RSAKeyView(final Composite parent, final int style, KleptoView kleptoView) {
245245
// Set up the basic appearance.
246246
super(parent, style);
247-
setLayout(new GridLayout(3, false));
247+
setLayout(new GridLayout(3, true));
248248
setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 1, 1));
249249

250250
// Save a reference to the driver class and initialize the sequencing.
@@ -316,7 +316,7 @@ private void setUpKeyGen(Composite localParent) {
316316
// Define the main control.
317317
gKeyGen = new Group(localParent, SWT.NONE);
318318
gKeyGen.setLayout(new GridLayout());
319-
GridData gd = new GridData(SWT.FILL, SWT.FILL, false, false, 2, 1);
319+
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, false, 2, 1);
320320
gKeyGen.setLayoutData(gd);
321321
gKeyGen.setText(Messages.RSAKeyView_Keygen);
322322

@@ -609,7 +609,7 @@ private void setUpStandardNumbers(Composite localParent) {
609609
private void setUpDescription(Composite localParent) {
610610
cDescription = new Composite(localParent, SWT.NONE);
611611
cDescription.setBackground(KleptoView.WHITE);
612-
GridData gd = new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1);
612+
GridData gd = new GridData(SWT.FILL, SWT.FILL, false, false, 1, 1);
613613
gd.minimumHeight = 300;
614614
gd.heightHint = 300;
615615
gd.minimumWidth = 10;

0 commit comments

Comments
 (0)