summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-10-30 13:27:12 (EDT)
committerKaren Butzke2012-10-30 13:27:12 (EDT)
commit0ef177969c0527affa4e0838f036663d569397e0 (patch)
tree90032f8e6240abb581f5bd0077e003920414b5b3
parent4abbf2b4034f735c3d6f49ae2c7242a7c3c87cfd (diff)
downloadwebtools.dali-0ef177969c0527affa4e0838f036663d569397e0.zip
webtools.dali-0ef177969c0527affa4e0838f036663d569397e0.tar.gz
webtools.dali-0ef177969c0527affa4e0838f036663d569397e0.tar.bz2
minor layout adjustment
-rw-r--r--jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/persistence/connection/JdbcPropertiesComposite.java18
1 files changed, 14 insertions, 4 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/persistence/connection/JdbcPropertiesComposite.java b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/persistence/connection/JdbcPropertiesComposite.java
index 91d50fb..b9a4e67 100644
--- a/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/persistence/connection/JdbcPropertiesComposite.java
+++ b/jpa/plugins/org.eclipse.jpt.jpa.eclipselink.ui/src/org/eclipse/jpt/jpa/eclipselink/ui/internal/persistence/connection/JdbcPropertiesComposite.java
@@ -72,11 +72,16 @@ public class JdbcPropertiesComposite<T extends Connection>
}
protected Section addReadConnectionSection(Composite container) {
- Section readConnectionSection = this.getWidgetFactory().createSection(container, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
+ Section readConnectionSection = this.getWidgetFactory().createSection(container,
+ ExpandableComposite.TWISTIE |
+ ExpandableComposite.EXPANDED |
+ ExpandableComposite.CLIENT_INDENT);
readConnectionSection.setText(EclipseLinkUiMessages.PersistenceXmlConnectionTab_readConnectionsSectionTitle);
Composite readConnectionClient = this.getWidgetFactory().createComposite(readConnectionSection);
- readConnectionClient.setLayout(new GridLayout(2, false));
+ GridLayout gridLayout = new GridLayout(2, false);
+ gridLayout.marginWidth = 0;
+ readConnectionClient.setLayout(gridLayout);
readConnectionClient.setLayoutData(new GridData(GridData.FILL_BOTH));
// Read Connections Shared
@@ -105,11 +110,16 @@ public class JdbcPropertiesComposite<T extends Connection>
}
protected Section addWriteConnectionSection(Composite container) {
- Section writeConnectionSection = this.getWidgetFactory().createSection(container, ExpandableComposite.TWISTIE | ExpandableComposite.EXPANDED);
+ Section writeConnectionSection = this.getWidgetFactory().createSection(container,
+ ExpandableComposite.TWISTIE |
+ ExpandableComposite.EXPANDED |
+ ExpandableComposite.CLIENT_INDENT);
writeConnectionSection.setText(EclipseLinkUiMessages.PersistenceXmlConnectionTab_writeConnectionsSectionTitle);
Composite writeConnectionClient = this.getWidgetFactory().createComposite(writeConnectionSection);
- writeConnectionClient.setLayout(new GridLayout(2, false));
+ GridLayout gridLayout = new GridLayout(2, false);
+ gridLayout.marginWidth = 0;
+ writeConnectionClient.setLayout(gridLayout);
writeConnectionClient.setLayoutData(new GridData(GridData.FILL_BOTH));
// Write Connections Minimum