| Summary: | [preferences] "New Template" and "Edit Template" dialogs margin spacing | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Sebastian Davids <sdavids> | ||||||||||
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | minor | ||||||||||||
| Priority: | P4 | CC: | daniel_megert | ||||||||||
| Version: | 3.0 | ||||||||||||
| Target Milestone: | 3.4 M4 | ||||||||||||
| Hardware: | All | ||||||||||||
| OS: | All | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Sebastian Davids
Created attachment 19530 [details]
fix
Created attachment 19536 [details]
fix
The dialog looks OK to me. Created attachment 83619 [details]
screenshot showing the different spacings
see screenshot Where do you think the margin isn't ok? I can't see this in your image. Created attachment 83626 [details]
on Windows
take a look at the orange and the pink lines
ok, got it. We normally don't set marginTop. Also, the spacing should be set:
==>
layout.marginHeight=
convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_MARGIN);
layout.marginWidth=
convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_MARGIN);
layout.verticalSpacing=
convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING);
layout.horizontalSpacing=
convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING);
In addition the EditTemplateDialog in Platform Text needs to be adjusted as well.
Fixed in HEAD.
Available in builds > N20071123-0010.
|