projects
/
Mograsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cc800d9
)
Turned auto-wrapping on for machines with long descriptions
author
Daniel Kirschten
<daniel.kirschten@gmx.de>
Tue, 12 May 2020 19:53:04 +0000
(21:53 +0200)
committer
Daniel Kirschten
<daniel.kirschten@gmx.de>
Tue, 12 May 2020 19:53:04 +0000
(21:53 +0200)
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/properties/MograsimNaturePropertyPage.java
patch
|
blob
|
history
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/MograsimSettingsPage.java
patch
|
blob
|
history
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/properties/MograsimNaturePropertyPage.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/properties/MograsimNaturePropertyPage.java
index
c51aa01
..
b7fb075
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/properties/MograsimNaturePropertyPage.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/properties/MograsimNaturePropertyPage.java
@@
-69,7
+69,7
@@
public class MograsimNaturePropertyPage extends PropertyPage
// Machine choice
machineSelect = MachineContextSwtTools.createMachineSelector(composite, SWT.NONE);
// Machine choice
machineSelect = MachineContextSwtTools.createMachineSelector(composite, SWT.NONE);
- machineDescription = new Label(composite, SWT.
NONE
);
+ machineDescription = new Label(composite, SWT.
WRAP
);
machineSelect.addListener(md -> machineDescription.setText(md.getDescription()));
machineDescription.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
machineSelect.addListener(md -> machineDescription.setText(md.getDescription()));
machineDescription.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
diff --git
a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/MograsimSettingsPage.java
b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/MograsimSettingsPage.java
index
f360d50
..
b8243f5
100644
(file)
--- a/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/MograsimSettingsPage.java
+++ b/
plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/wizards/newWizards/MograsimSettingsPage.java
@@
-95,7
+95,7
@@
public class MograsimSettingsPage extends WizardPage
machineSelect = MachineContextSwtTools.createMachineSelector(composite, SWT.NONE);
machineSelect.addListener(md -> setPageComplete(isValid()));
machineSelect = MachineContextSwtTools.createMachineSelector(composite, SWT.NONE);
machineSelect.addListener(md -> setPageComplete(isValid()));
- machineDescription = new Label(composite, SWT.
NONE
);
+ machineDescription = new Label(composite, SWT.
WRAP
);
machineSelect.addListener(md -> machineDescription.setText(md.getDescription()));
machineDescription.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
}
machineSelect.addListener(md -> machineDescription.setText(md.getDescription()));
machineDescription.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
}