Changeset 18 for trunk/de.ugoe.cs.swe.exercises
- Timestamp:
- 10/19/09 21:56:22 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/de.ugoe.cs.swe.exercises/src/de/ugoe/cs/swe/exercises/exercisesheet/ExerciseSheetPDFDialog.java
r9 r18 57 57 @Override 58 58 protected Control createDialogArea(Composite parent) { 59 parent.getShell().setSize(500, 170);60 int x = shell.getLocation().x61 + (shell.getSize().x - parent.getShell().getSize().x) / 2;62 int y = shell.getLocation().y63 + (shell.getSize().y - parent.getShell().getSize().y) / 2;64 parent.getShell().setLocation(x, y);65 66 59 GridLayout layout = new GridLayout(); 67 60 layout.numColumns = 2;
Note: See TracChangeset
for help on using the changeset viewer.